Skip to content

Batch Gauge Metrics from Prometheus Remote Write to InfluxDB v2 Without Aggregation #22863

Closed Answered by adiwab
adiwab asked this question in General
Discussion options

You must be logged in to vote

Info:
Batching generally means that timestamp information will be aggregated away, and metric-specific compression will be applied to improve pipeline performance.

Therefore, this behavior is correct and intentional.

Possible Solutions:

  1. Reduce data throughput using transforms/aggregate with an appropriate interval.
    → This calculates the respective value depending on the selected mode.
  2. Using buffers or batch always forwards the last received metric.
    → Depending on the use case, important information might be lost.
  3. Add a unique tag to the dataset using transforms/remap (e.g., a unique_id or a timestamp).
    → This doesn't align with Vector's intended purpose, but it enables the use of buffer …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pront
Comment options

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sink: influxdb_metrics Anything `influxdb_metrics` sink related sink: prometheus_remote_write Anything `prometheus_remote_write` sink related
2 participants