Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support fully v2 event api #34

Open
NargiT opened this issue Oct 25, 2021 · 0 comments
Open

support fully v2 event api #34

NargiT opened this issue Oct 25, 2021 · 0 comments

Comments

@NargiT
Copy link

NargiT commented Oct 25, 2021

[Edited for a global concern]

Support fully v2 api and allow to override all fields.

missing fields: timestamp,client, client_url, links, images

Usage:
  pdagent enqueue [flags]

Flags:
      --class string           The class/type of the event
      --component string       Component of the source machine that is responsible for the event
  -y, --dedup-key string       Deduplication key for correlating triggers and resolves
  -t, --event-action string    The type of event
  -f, --field stringToString   Add given KEY=VALUE pair to the event details (default [])
  -g, --group string           Logical grouping of components of a service
  -h, --help                   help for enqueue
  -k, --routing-key string     Service Events API Key
  -e, --severity string        The perceived severity of the status the event is describing with respect to the affected system (default "error")
  -u, --source string          The unique location of the affected system
  -d, --summary string         A brief text summary of the event

v2 event api https://developer.pagerduty.com/api-reference/b3A6Mjc0ODI2Nw-send-an-event-to-pager-duty
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant