File tree 8 files changed +8
-7
lines changed
8 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The Prometheus Bridge allows using the Prometheus Golang client library
11
11
// Make a Promethes bridge "Metric Producer" that adds metrics from the
12
12
// Prometheus DefaultGatherer. Add the WithGatherer(registry) option to add
13
13
// metrics from other registries.
14
- bridge := prombridge .NewMetricProducer ()
14
+ bridge := prometheus .NewMetricProducer ()
15
15
// Make a Periodic Reader to periodically gather metrics from the bridge, and
16
16
// push to an OpenTelemetry exporter.
17
17
reader := metric.NewPeriodicReader (otelExporter, metric.WithProducer (bridge))
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package prometheus // import "go.opentelemetry.io/contrib/bridge /prometheus"
15
+ package prometheus // import "go.opentelemetry.io/contrib/bridges /prometheus"
16
16
17
17
import (
18
18
"github.com/prometheus/client_golang/prometheus"
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package prometheus // import "go.opentelemetry.io/contrib/bridge /prometheus"
15
+ package prometheus // import "go.opentelemetry.io/contrib/bridges /prometheus"
16
16
17
17
import (
18
18
"testing"
Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
15
15
// Package prometheus provides a bridge from Prometheus to OpenTelemetry.
16
- package prometheus // import "go.opentelemetry.io/contrib/bridge /prometheus"
16
+ package prometheus // import "go.opentelemetry.io/contrib/bridges /prometheus"
Original file line number Diff line number Diff line change 1
- module go.opentelemetry.io/contrib/bridge /prometheus
1
+ module go.opentelemetry.io/contrib/bridges /prometheus
2
2
3
3
go 1.19
4
4
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package prometheus // import "go.opentelemetry.io/contrib/bridge /prometheus"
15
+ package prometheus // import "go.opentelemetry.io/contrib/bridges /prometheus"
16
16
17
17
import (
18
18
"context"
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- package prometheus // import "go.opentelemetry.io/contrib/bridge /prometheus"
15
+ package prometheus // import "go.opentelemetry.io/contrib/bridges /prometheus"
16
16
17
17
import (
18
18
"context"
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ module-sets:
29
29
experimental-instrumentation :
30
30
version : v0.43.0
31
31
modules :
32
+ - go.opentelemetry.io/contrib/bridges/prometheus
32
33
- go.opentelemetry.io/contrib/detectors/aws/lambda
33
34
- go.opentelemetry.io/contrib/exporters/autoexport
34
35
- go.opentelemetry.io/contrib/propagators/autoprop
You can’t perform that action at this time.
0 commit comments