Skip to content

Commit

Permalink
documentation: typo outputs cloud_pubsub (influxdata#7817)
Browse files Browse the repository at this point in the history
  • Loading branch information
eraac authored and idohalevi committed Sep 23, 2020
1 parent dc0671c commit 672f710
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion etc/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
# # base64_data = false
#
# ## Optional. PubSub attributes to add to metrics.
# # [[inputs.pubsub.attributes]]
# # [outputs.cloud_pubsub.attributes]
# # my_attr = "tag_value"


Expand Down
6 changes: 3 additions & 3 deletions plugins/outputs/cloud_pubsub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ generate it using `telegraf --usage cloud_pubsub`.

## Optional. Specifies a timeout for requests to the PubSub API.
# publish_timeout = "30s"

## Optional. If true, published PubSub message data will be base64-encoded.
# base64_data = false

## Optional. PubSub attributes to add to metrics.
# [[inputs.pubsub.attributes]]
# [outputs.cloud_pubsub.attributes]
# my_attr = "tag_value"
```

Expand Down
2 changes: 1 addition & 1 deletion plugins/outputs/cloud_pubsub/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const sampleConfig = `
# base64_data = false
## Optional. PubSub attributes to add to metrics.
# [[inputs.pubsub.attributes]]
# [outputs.cloud_pubsub.attributes]
# my_attr = "tag_value"
`

Expand Down

0 comments on commit 672f710

Please sign in to comment.