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

[pkg/translator/prometheusremotewrite] Split from prometheusremotewriteexporter #7240

Merged
merged 4 commits into from
Jan 27, 2022

Commits on Jan 27, 2022

  1. Make otlp to Prom RW conversion importable

    This will make it super easy for existing Remote Write compatible systems
    like Prometheus ingest OTLP.
    
    Now its as simple as:
    
    ```
    	prwe := &prometheusremotewriteexporter.PRWExporter{}
    	tsMap, dropped, errs := prwe.ConvertMetrics(ctx, md)
    ```
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    6cd9edf View commit details
    Browse the repository at this point in the history
  2. Move metrics conversion to pkg/translate

    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    90cf8dd View commit details
    Browse the repository at this point in the history
  3. Add changelog entry

    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    0d63d40 View commit details
    Browse the repository at this point in the history
  4. Make lint pass

    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    49728db View commit details
    Browse the repository at this point in the history