forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add simpleprom example to the module, upgrade, and fix otlp version (#…
…2626) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
- Loading branch information
1 parent
0401fea
commit 21f27d4
Showing
7 changed files
with
322 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
receiver/simpleprometheusreceiver/examples/federation/prom-counter/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../../../../../Makefile.Common |
11 changes: 6 additions & 5 deletions
11
receiver/simpleprometheusreceiver/examples/federation/prom-counter/go.mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
module app | ||
module github.com/open-telemetry/opentelemetry-collector-contrib/receiver/simpleprometheusreceiver/examples/federation/prom-counter | ||
|
||
go 1.14 | ||
|
||
require ( | ||
go.opentelemetry.io/otel v0.15.0 | ||
go.opentelemetry.io/otel/exporters/metric/prometheus v0.15.0 | ||
go.opentelemetry.io/otel/exporters/otlp v0.15.0 | ||
go.opentelemetry.io/otel/sdk v0.15.0 | ||
go.opentelemetry.io/otel v0.18.0 | ||
go.opentelemetry.io/otel/exporters/metric/prometheus v0.18.0 | ||
go.opentelemetry.io/otel/metric v0.18.0 | ||
go.uber.org/zap v1.16.0 | ||
golang.org/x/tools v0.0.0-20210106214847-113979e3529a // indirect | ||
google.golang.org/protobuf v1.25.0 // indirect | ||
) |
Oops, something went wrong.