{"id":21050456,"url":"https://github.com/pagerduty/go-pdagent","last_synced_at":"2025-05-15T21:33:50.955Z","repository":{"id":44921691,"uuid":"247770927","full_name":"PagerDuty/go-pdagent","owner":"PagerDuty","description":"A new PagerDuty agent.","archived":false,"fork":false,"pushed_at":"2023-10-21T11:22:11.000Z","size":149,"stargazers_count":11,"open_issues_count":10,"forks_count":8,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-06-20T17:53:04.380Z","etag":null,"topics":["agent","devops","golang","pagerduty","team-auth-foundations"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PagerDuty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-16T16:58:23.000Z","updated_at":"2024-05-16T13:55:49.000Z","dependencies_parsed_at":"2024-06-20T17:32:58.128Z","dependency_job_id":null,"html_url":"https://github.com/PagerDuty/go-pdagent","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PagerDuty%2Fgo-pdagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PagerDuty%2Fgo-pdagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PagerDuty%2Fgo-pdagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PagerDuty%2Fgo-pdagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PagerDuty","download_url":"https://codeload.github.com/PagerDuty/go-pdagent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225378419,"owners_count":17464990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","devops","golang","pagerduty","team-auth-foundations"],"created_at":"2024-11-19T15:31:36.498Z","updated_at":"2024-11-19T15:31:37.303Z","avatar_url":"https://github.com/PagerDuty.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Note: This project is currently in beta, for the current Python-based agent see: https://github.com/PagerDuty/pdagent**\n\n# PagerDuty Agent\n\nAn agent daemon to aid in creating PagerDuty events.\n\nGoals of this project include providing:\n\n- A command-line interface for creating PagerDuty events.\n- A local entry point for PagerDuty's Events API.\n- Ensuring that events are properly ordered for each integration.\n- Handling back pressure or when PagerDuty is inaccessible.\n\nIf you're looking for a more comprehensive PagerDuty API Go client library and CLI, see: https://github.com/PagerDuty/go-pagerduty\n\n## Installation\n\nBinaries for our officially supported platforms can be found on the [releases page](https://github.com/PagerDuty/go-pdagent/releases).\n\n## Usage\n\nOn first run we recommend running `pdagent init` to generate a default config file. By default this file will live in `~/.pdagent` along with any other artifacts.\n\nOnce the config has been created, to start the daemon:\n\n```\npdagent server\n```\n\nThere are a number of other commands available that are listed as part of the command's help command:\n\n```\npdagent help\n```\n\nPerhaps the most common command, sending events:\n\n```\npdagent enqueue \\\n  -k your_key_goes_here \\\n  -t trigger \\\n  -d \"This is only a test\" \\\n  -u \"http://pagerduty.com\" \\\n  -e \"error\" \\\n  -f some_field=some_value\n```\n\n## Architecture\n\n![pdagent architecture diagram](http://www.plantuml.com/plantuml/proxy?cache=no\u0026src=https://raw.github.com/PagerDuty/go-pdagent/main/docs/architecture-diagram.txt)\n\nAt a high level, the agent has three key components:\n\n- Server: The daemon itself where most of the heavy lifting occurs.\n- Client: An HTTP client to simplify making requests against the server.\n- CLI: A command line tool for working with both the server and client commands.\n\n## Development\n\nLooking to contribute? See [development](/docs/development.md) for some helpful tips.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagerduty%2Fgo-pdagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpagerduty%2Fgo-pdagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagerduty%2Fgo-pdagent/lists"}