Skip to content

Commit

Permalink
chore: fix invalid url in docs (#733)
Browse files Browse the repository at this point in the history
chore: fix 404 status URL

Signed-off-by: hishope <csqiye@126.com>
  • Loading branch information
hishope authored Nov 29, 2024
1 parent ef02abc commit 59fbac9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Default: `"grpc"`

### `Zipkin Exporter`

See [Zipkin Exporter](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#zipkin-exporter).
See [Zipkin Exporter](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#zipkin-exporter).

### `File Exporter`

Expand All @@ -66,7 +66,7 @@ Default: `"$PWD/traces.json"`

### `OTEL_PROPAGATORS`

See [General SDK Configuration](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#general-sdk-configuration).
See [General SDK Configuration](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration).

## Using Jaeger UI

Expand Down
2 changes: 1 addition & 1 deletion examples/gateway/common/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func SetupTracing(ctx context.Context, serviceName string) (*trace.TracerProvide
// using autoprop.NewTextMapPropagator, we ensure the value of the environmental
// variable OTEL_PROPAGATORS is respected, if set. By default, Trace Context
// and Baggage are used. More details on:
// https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md
// https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md
otel.SetTextMapPropagator(autoprop.NewTextMapPropagator())

return tp, nil
Expand Down
2 changes: 1 addition & 1 deletion tracing/exporters.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
// most of this code.
//
// Specs:
// - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#exporter-selection
// - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#exporter-selection
// - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md
func NewSpanExporters(ctx context.Context) ([]trace.SpanExporter, error) {
var exporters []trace.SpanExporter
Expand Down

0 comments on commit 59fbac9

Please sign in to comment.