Skip to content

Commit

Permalink
victoria-metrics-agent: fix honor_timestamps field (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleygo authored Aug 29, 2023
1 parent 2839169 commit 60d9da2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/victoria-metrics-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
![AppVersion: **APP_VERSION**](https://img.shields.io/static/v1?label=AppVersion&message=**APP_VERSION**&color=success&logo=)
![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

- TODO
* fix `honor_timestamps` field for cadvisor scrape job (#626)

## 0.9.5

Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Change the values according to the need of the environment in ``victoria-metrics
| config.scrape_configs[2].tls_config.ca_file | string | `"/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"` | |
| config.scrape_configs[2].tls_config.insecure_skip_verify | bool | `true` | |
| config.scrape_configs[3].bearer_token_file | string | `"/var/run/secrets/kubernetes.io/serviceaccount/token"` | |
| config.scrape_configs[3].honorTimestamps | bool | `false` | |
| config.scrape_configs[3].honor_timestamps | bool | `false` | |
| config.scrape_configs[3].job_name | string | `"kubernetes-nodes-cadvisor"` | |
| config.scrape_configs[3].kubernetes_sd_configs[0].role | string | `"node"` | |
| config.scrape_configs[3].relabel_configs[0].action | string | `"labelmap"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ config:
replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
# ignore timestamps of cadvisor's metrics by default
# more info here https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4697#issuecomment-1656540535
honorTimestamps: false
honor_timestamps: false
# Scrape config for service endpoints.
#
# The relabeling allows the actual service scrape endpoint to be configured
Expand Down

0 comments on commit 60d9da2

Please sign in to comment.