Skip to content

Commit 09fe074

Browse files
committed
address feedback
1 parent 6035f9a commit 09fe074

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

bridges/prometheus/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The Prometheus Bridge allows using the Prometheus Golang client library
1111
// Make a Promethes bridge "Metric Producer" that adds metrics from the
1212
// Prometheus DefaultGatherer. Add the WithGatherer(registry) option to add
1313
// metrics from other registries.
14-
bridge := prombridge.NewMetricProducer()
14+
bridge := prometheus.NewMetricProducer()
1515
// Make a Periodic Reader to periodically gather metrics from the bridge, and
1616
// push to an OpenTelemetry exporter.
1717
reader := metric.NewPeriodicReader(otelExporter, metric.WithProducer(bridge))

bridges/prometheus/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
15+
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"
1616

1717
import (
1818
"github.com/prometheus/client_golang/prometheus"

bridges/prometheus/config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
15+
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"
1616

1717
import (
1818
"testing"

bridges/prometheus/doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
// limitations under the License.
1414

1515
// 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"

bridges/prometheus/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module go.opentelemetry.io/contrib/bridge/prometheus
1+
module go.opentelemetry.io/contrib/bridges/prometheus
22

33
go 1.19
44

bridges/prometheus/producer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
15+
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"
1616

1717
import (
1818
"context"

bridges/prometheus/producer_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
15+
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"
1616

1717
import (
1818
"context"

versions.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module-sets:
2929
experimental-instrumentation:
3030
version: v0.43.0
3131
modules:
32+
- go.opentelemetry.io/contrib/bridges/prometheus
3233
- go.opentelemetry.io/contrib/detectors/aws/lambda
3334
- go.opentelemetry.io/contrib/exporters/autoexport
3435
- go.opentelemetry.io/contrib/propagators/autoprop

0 commit comments

Comments
 (0)