peridot/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/BUILD.bazel
2024-10-16 12:56:53 +02:00

32 lines
1.2 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/semconv",
"//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",
],
)