Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Aug 31, 2023
1 parent 80ce130 commit e8567f7
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bridges/prometheus/README.md
Expand Up @@ -11,7 +11,7 @@ The Prometheus Bridge allows using the Prometheus Golang client library
// Make a Promethes bridge "Metric Producer" that adds metrics from the
// Prometheus DefaultGatherer. Add the WithGatherer(registry) option to add
// metrics from other registries.
bridge := prombridge.NewMetricProducer()
bridge := prometheus.NewMetricProducer()
// Make a Periodic Reader to periodically gather metrics from the bridge, and
// push to an OpenTelemetry exporter.
reader := metric.NewPeriodicReader(otelExporter, metric.WithProducer(bridge))
Expand Down
2 changes: 1 addition & 1 deletion bridges/prometheus/config.go
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"

import (
"github.com/prometheus/client_golang/prometheus"
Expand Down
2 changes: 1 addition & 1 deletion bridges/prometheus/config_test.go
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion bridges/prometheus/doc.go
Expand Up @@ -13,4 +13,4 @@
// limitations under the License.

// Package prometheus provides a bridge from Prometheus to OpenTelemetry.
package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"
2 changes: 1 addition & 1 deletion bridges/prometheus/go.mod
@@ -1,4 +1,4 @@
module go.opentelemetry.io/contrib/bridge/prometheus
module go.opentelemetry.io/contrib/bridges/prometheus

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion bridges/prometheus/producer.go
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion bridges/prometheus/producer_test.go
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package prometheus // import "go.opentelemetry.io/contrib/bridge/prometheus"
package prometheus // import "go.opentelemetry.io/contrib/bridges/prometheus"

import (
"context"
Expand Down
1 change: 1 addition & 0 deletions versions.yaml
Expand Up @@ -29,6 +29,7 @@ module-sets:
experimental-instrumentation:
version: v0.43.0
modules:
- go.opentelemetry.io/contrib/bridges/prometheus
- go.opentelemetry.io/contrib/detectors/aws/lambda
- go.opentelemetry.io/contrib/exporters/autoexport
- go.opentelemetry.io/contrib/propagators/autoprop
Expand Down

0 comments on commit e8567f7

Please sign in to comment.