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

[Cortex] Add support for histogram and distribution #237

Merged
merged 12 commits into from
Aug 18, 2020

Conversation

connorlindsey
Copy link
Contributor

This PR adds support for histogram and distribution aggregations in the Cortex Exporter by adding functionality in cortex.go. I also refactored tests in cortex_test.go. To support buckets and quantiles, I also added two fields to config.go.

There are a few other minor changes like adding a link to Viper in the README, switching to a NewWithHistogramDistribution Processor, and modifying the conversion logic (control flow to select which aggregation needs to be converted).

Copy link
Contributor

@jmacd jmacd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

exporters/metric/cortex/cortex.go Outdated Show resolved Hide resolved
exporters/metric/cortex/cortex.go Show resolved Hide resolved
exporters/metric/cortex/cortex.go Show resolved Hide resolved
exporters/metric/cortex/cortex.go Show resolved Hide resolved
exporters/metric/cortex/cortex.go Outdated Show resolved Hide resolved
exporters/metric/cortex/cortex.go Outdated Show resolved Hide resolved
exporters/metric/cortex/cortex.go Outdated Show resolved Hide resolved
@MrAlias MrAlias merged commit 453f28e into open-telemetry:master Aug 18, 2020
@connorlindsey connorlindsey deleted the finish-convert-metrics branch August 18, 2020 18:43
@lizthegrey
Copy link
Member

for future, please prefix name of component in [] in PR description.

@connorlindsey connorlindsey changed the title Cortex: Add support for histogram and distribution [Cortex] Add support for histogram and distribution Aug 19, 2020
plantfansam referenced this pull request in plantfansam/opentelemetry-go-contrib Mar 18, 2022
* Jaeger exporter should be its own go module open-telemetry/opentelemetry-go#205

* fix review comments and build #205

* resolve mod conflicts #205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants