Skip to content

document that honor timestamps should be enabled #141

@uhthomas

Description

@uhthomas

The exporter can limit how often it scrapes the Tesla API to avoid rate limiting. It does this by caching metrics and only updating them after the specified internal. It also does this lazily, when a request is made to the exporter. The exporter correctly exports metrics with timestamps to indicate that they may be stale, and to accurately represent when the metrics were scraped. Some projects, like VictoriaMetrics, do not honor timestamps by default.

VictoriaMetrics/VictoriaMetrics#4697

https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config

# honor_timestamps controls whether Prometheus respects the timestamps present
# in scraped data.
#
# If honor_timestamps is set to "true", the timestamps of the metrics exposed
# by the target will be used.
#
# If honor_timestamps is set to "false", the timestamps of the metrics exposed
# by the target will be ignored.
[ honor_timestamps: [<boolean>](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#boolean) | default = true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions