fix dedupKey capitalization (#3802)

pull/3804/head^2
lwandzura 2022-02-22 11:15:24 -06:00 committed by GitHub
parent fed1488e7d
commit 6e128e531b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ pagerduty.sendEvent(
routingKey: "ExampleRoutingKey",
client: "ExampleClient",
clientURL: "http://examplepagerdutyclient.com",
dedupkey: "ExampleDedupKey",
dedupKey: "ExampleDedupKey",
class: "cpu usage",
group: "app-stack",
severity: "ok",
@ -52,14 +52,14 @@ The name of the client sending the alert.
### clientURL {data-type="string"}
The URL of the client sending the alert.
### dedupkey {data-type="string"}
### dedupKey {data-type="string"}
A per-alert ID that acts as deduplication key and allows you to acknowledge or
change the severity of previous messages.
Supports a maximum of 255 characters.
{{% note %}}
When using [`pagerduty.endpoint()`](/flux/v0.x/stdlib/pagerduty/endpoint/)
to send data to PagerDuty, the function uses the [`pagerduty.dedupKey()` function](/flux/v0.x/stdlib/pagerduty/dedupkey/) to populate the `dedupkey` parameter.
to send data to PagerDuty, the function uses the [`pagerduty.dedupKey()` function](/flux/v0.x/stdlib/pagerduty/dedupkey/) to populate the `dedupKey` parameter.
{{% /note %}}
### class {data-type="string"}