Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewthetechie/dd-event-rs
Send a datadog event via the datadog api. CLI client written in Rust
https://github.com/andrewthetechie/dd-event-rs
Last synced: about 1 month ago
JSON representation
Send a datadog event via the datadog api. CLI client written in Rust
- Host: GitHub
- URL: https://github.com/andrewthetechie/dd-event-rs
- Owner: andrewthetechie
- License: mit
- Created: 2022-07-16T20:33:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T01:30:19.000Z (5 months ago)
- Last Synced: 2024-08-02T03:32:23.662Z (5 months ago)
- Language: Rust
- Size: 142 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# dd-event
A CLI app to send events to datadog via the API.
```shell
dd-event
Andrew Herrington
Write an event to Datadog via the Datadog API.
Environment Variables:
* DD_API_KEY - Your Datadog API key
* DD_API_HOST - (Optional) The Datadog API host to use, defaults to DD's US APIUSAGE:
dd-event [OPTIONS] --text --titleOPTIONS:
-a, --alert-type
If an alert event is enabled, set its type. Allowed values:
error,warning,info,success,user_update,recommendation,snapshot--aggregation-key
An arbitrary string to use for aggregation. Limited to 100 characters. If you specify a
key, all events using that key are grouped together in the Event Stream-d, --device-name
A device name-h, --host
Host name to associate with the event. Any tags associated with the host are also
applied to this event--help
Print help information-p, --priority
The priority of the event. For example, normal or low. Allowed enum values: normal,low-r, --related-event-id
Host name to associate with the event. Any tags associated with the host are also
applied to this event-s, --source-type-name
The type of event being posted. Option examples include nagios, hudson, jenkins,
my_apps, chef, puppet, git, bitbucket, etc. A complete list of source attribute values
available
https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value/-t, --text
The body of the event. Limited to 4000 characters. The text supports markdown. To use
markdown in the event text, start the text block with %%% \n and end the text block with
\n %%%--tags
A list of tags to apply to the event. In the format key:value,key2:value2--title
The event title-V, --version
Print version information--verbose
Will print verbose output to stdout
```