2024-02-24 00:34:55 +00:00
|
|
|
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",
|
2024-10-16 10:54:40 +00:00
|
|
|
"//vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv",
|
2024-02-24 00:34:55 +00:00
|
|
|
"//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",
|
|
|
|
],
|
|
|
|
)
|