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