Skip to content

Commit

Permalink
Disable export_timestamp for prometheus by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bozaro committed Jan 17, 2019
1 parent 9c0a0bf commit 17c6597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/outputs/prometheus_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ This plugin starts a [Prometheus](https://prometheus.io/) Client, it exposes all
# tls_key = "/etc/ssl/telegraf.key"

## Export metric collection time.
# export_timestamp = true
# export_timestamp = false
```
2 changes: 1 addition & 1 deletion plugins/outputs/prometheus_client/prometheus_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ var sampleConfig = `
# tls_key = "/etc/ssl/telegraf.key"
## Export metric collection time.
# export_timestamp = true
# export_timestamp = false
`

func (p *PrometheusClient) auth(h http.Handler) http.Handler {
Expand Down

0 comments on commit 17c6597

Please sign in to comment.