Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: prometheusremotewrite: Introduce pluggable conversion architecture #32684

Closed
wants to merge 1 commit into from

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Apr 25, 2024

Description:
Expose the pkg/translator/prometheusremotewrite.prometheusConverter type, as an implementation of new interface pkg/translator/prometheusremotewrite.MetricsConverter.

The purpose of the MetricsConverter interface is to facilitate converters for Prometheus compatible systems such as Grafana Mimir/Thanos/Cortex, with partially shared implementation (the ConvertMetrics and addResourceTargetInfo functions). The conversion methods for the different metric types are not shared, in order to achieve optimal performance.

Link to tracking Issue: #32666

Testing:

Documentation:

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
@aknuds1
Copy link
Contributor Author

aknuds1 commented May 1, 2024

Closing since I've found a better approach, see comment.

@aknuds1 aknuds1 closed this May 1, 2024
@aknuds1 aknuds1 deleted the arve/pluggable-api branch May 1, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant