peridot/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/BUILD.bazel
Mustafa Gezen ad0f7a5305
Major upgrades
Upgrade to Go 1.20.5, Hydra v2 SDK, rules-go v0.44.2 (with proper resolves), protobuf v25.3 and mass upgrade of Go dependencies.
2024-03-17 08:06:08 +01:00

31 lines
1.1 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "otelhttp",
srcs = [
"client.go",
"common.go",
"config.go",
"doc.go",
"handler.go",
"labeler.go",
"transport.go",
"version.go",
"wrap.go",
],
importmap = "peridot.resf.org/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp",
importpath = "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/felixge/httpsnoop",
"//vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil",
"//vendor/go.opentelemetry.io/otel",
"//vendor/go.opentelemetry.io/otel/attribute",
"//vendor/go.opentelemetry.io/otel/codes",
"//vendor/go.opentelemetry.io/otel/metric",
"//vendor/go.opentelemetry.io/otel/propagation",
"//vendor/go.opentelemetry.io/otel/semconv/v1.20.0:v1_20_0",
"//vendor/go.opentelemetry.io/otel/trace",
],
)