thanos-io / promql-engine

Multi-threaded PromQL engine implementation based on the Volcano paper.
Apache License 2.0
141 stars 54 forks source link

Refine distributing label_replace #438

Closed fpetkovski closed 6 months ago

fpetkovski commented 6 months ago

We currently fall back with distributing label_replace if the target label is an external label. This is generally correct behavior since external labels are used for deduplication. However, if label-replace is done in the root engine, it is safe to distribute everything bellow it.