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

[exporter/prometheusremotewrite] prometheusremotewrite exporter add option to send metadata #27565

Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
78b1d28
feat: prometheus remote write send metadata
Sep 30, 2023
14d0c3b
chore: added config option for sending medatada
Oct 9, 2023
54fc699
chore: send metadata in separate requests
Oct 9, 2023
3343077
chore: ran make goporto to make the pipeline pass
Oct 28, 2023
0d27a44
chore: add missing license to the file
Oct 28, 2023
44c22dd
chore: more fixes for pipeline failing
Oct 29, 2023
afae26f
chore: more fixes for pipeline failing
Oct 29, 2023
0708868
Merge branch 'main' into jm-feat-prometheus-remote-write-send-metadata-2
Oct 30, 2023
9e2d10d
Merge branch 'main' into jm-feat-prometheus-remote-write-send-metadata-2
Nov 9, 2023
4663b68
chore: disable sending metadata by default
Nov 9, 2023
dfa93e0
chore: update remote write exporter readme
Nov 9, 2023
2c724f9
chore: added unit tests
Nov 9, 2023
c3c4d02
chore: added changelog entry
Nov 9, 2023
62588b8
chore: make linter happy
Nov 9, 2023
b0e946c
Merge branch 'main' into jm-feat-prometheus-remote-write-send-metadata-2
Nov 10, 2023
a019771
Merge branch 'main' into jm-feat-prometheus-remote-write-send-metadata-2
Nov 11, 2023
41c68e7
Update exporter/prometheusremotewriteexporter/README.md
jmichalek132 Nov 15, 2023
ec03854
chore: update comment copied comment
Nov 15, 2023
7ae3f82
Update exporter/prometheusremotewriteexporter/exporter.go
jmichalek132 Nov 19, 2023
c47cea6
chore: add separate method for creating metadata requests
Nov 19, 2023
a05570c
chore: fix metadata length calculation
Nov 19, 2023
90c79d7
chore: fix pass metadata requests
Nov 19, 2023
cc196be
Merge branch 'main' into jm-feat-prometheus-remote-write-send-metadata-2
Nov 19, 2023
9f7f769
chore: update call of a function
Nov 19, 2023
cfaa046
chore: don't set unit in metadata for now
Nov 20, 2023
6f07237
Merge branch 'main' into jm-feat-prometheus-remote-write-send-metadata-2
Nov 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: more fixes for pipeline failing
  • Loading branch information
Juraj Michalek committed Oct 29, 2023
commit afae26f5d952d27f0edbe482f00ba99c7b8070cf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
package prometheusremotewrite // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite"

import (
prometheustranslator "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus"
"github.com/prometheus/prometheus/prompb"
"go.opentelemetry.io/collector/pdata/pmetric"

prometheustranslator "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus"
)

func otelMetricTypeToPromMetricType(otelMetric pmetric.Metric) prompb.MetricMetadata_MetricType {
Expand Down
Loading