Skip to content

Commit 997f8cd

Browse files
authored
Use the correct name everywhere (#13466)
1 parent 786c45c commit 997f8cd

File tree

12 files changed

+41
-41
lines changed

12 files changed

+41
-41
lines changed

develop-docs/sdk/telemetry/traces/opentelemetry.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ When Sentry performance monitoring was initially introduced, OpenTelemetry was i
2020

2121
To transform OpenTelemetry SDK data to Sentry data, we rely on the [OpenTelemetry SpanProcessor](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#span-processor) and [OpenTelemetry Propagator API](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/api-propagators.md).
2222

23-
We want users to use Sentry for sampling functionality, so users should use OpenTelemetry's default sampler and sample through Sentry's `trace_sampler` and `traces_sample_rate` options.
23+
We want users to use Sentry for sampling functionality, so users should use OpenTelemetry's default sampler and sample through Sentry's `traces_sampler` and `traces_sample_rate` options.
2424

2525
To be classified as fully supporting OpenTelemetry the OpenTelemetry instrumentation must support the following features:
2626

docs/platforms/javascript/common/tracing/configure-sampling/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For more granular control, you provide a `tracesSampler` function. This approach
2828
- Make sampling decisions based on transaction data
2929
- Control the inheritance of sampling decisions in distributed traces
3030

31-
<PlatformContent includePath="/tracing/trace-sampler" />
31+
<PlatformContent includePath="/tracing/traces-sampler" />
3232

3333
### The Sampling Context Object
3434

@@ -53,7 +53,7 @@ interface SamplingContext {
5353
}
5454
```
5555

56-
### Trace Sampler Examples
56+
### Traces Sampler Examples
5757

5858
1. Prioritizing Critical User Flows
5959

docs/platforms/python/tracing/configure-sampling/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_order: 40
66

77
If you find that Sentry's tracing functionality is generating too much data, for example, if you notice your spans quota is quickly being exhausted, you can choose to sample your traces.
88

9-
Effective sampling is key to getting the most value from Sentry's performance monitoring while minimizing overhead. The Python SDK provides two ways to control the sampling rate. You can review the options and [examples](#trace-sampler-examples) below.
9+
Effective sampling is key to getting the most value from Sentry's performance monitoring while minimizing overhead. The Python SDK provides two ways to control the sampling rate. You can review the options and [examples](#traces-sampler-examples) below.
1010

1111
## Sampling Configuration Options
1212

@@ -39,9 +39,9 @@ In distributed systems, implementing inheritance logic when trace information is
3939
<PlatformContent includePath="/performance/traces-sampler-as-sampler" />
4040

4141
<details>
42-
<summary className="text-xl font-semibold">Trace Sampler Examples</summary>
42+
<summary className="text-xl font-semibold">Traces Sampler Examples</summary>
4343

44-
#### Trace Sampler Examples
44+
#### Traces Sampler Examples
4545

4646
1. Prioritizing Critical User Flows
4747

File renamed without changes.

platform-includes/tracing/trace-sampler/javascript.cloudflare.mdx renamed to platform-includes/tracing/traces-sampler/javascript.cloudflare.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ Sentry.init({
55
tracesSampler: (samplingContext) => {
66
// Access transaction details from the sampling context
77
const { name, attributes, inheritOrSampleWith } = samplingContext;
8-
8+
99
// Skip health checks entirely
1010
if (name.includes('healthcheck')) {
1111
return 0;
1212
}
13-
13+
1414
// Capture all auth-related transactions
1515
if (name.includes('auth')) {
1616
return 1;
1717
}
18-
18+
1919
// Sample only 1% of comment-related transactions
2020
if (name.includes('comment')) {
2121
return 0.01;
2222
}
23-
23+
2424
// For everything else, inherit parent sampling decision or use 0.5
2525
return inheritOrSampleWith(0.5);
2626
}
2727
});
28-
```
28+
```

platform-includes/tracing/trace-sampler/javascript.mdx renamed to platform-includes/tracing/traces-sampler/javascript.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ Sentry.init({
55
tracesSampler: (samplingContext) => {
66
// Access transaction details from the sampling context
77
const { name, attributes, inheritOrSampleWith } = samplingContext;
8-
8+
99
// Skip health checks entirely
1010
if (name.includes('healthcheck')) {
1111
return 0;
1212
}
13-
13+
1414
// Capture all auth-related transactions
1515
if (name.includes('auth')) {
1616
return 1;
1717
}
18-
18+
1919
// Sample only 1% of comment-related transactions
2020
if (name.includes('comment')) {
2121
return 0.01;
2222
}
23-
23+
2424
// For everything else, inherit parent sampling decision or use 0.5
2525
return inheritOrSampleWith(0.5);
2626
}
2727
});
28-
```
28+
```
File renamed without changes.

platform-includes/tracing/trace-sampler/javascript.node.mdx renamed to platform-includes/tracing/traces-sampler/javascript.node.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ Sentry.init({
44
tracesSampler: (samplingContext) => {
55
// Access transaction details from the sampling context
66
const { name, attributes, inheritOrSampleWith } = samplingContext;
7-
7+
88
// Skip health checks entirely
99
if (name.includes('healthcheck')) {
1010
return 0;
1111
}
12-
12+
1313
// Capture all auth-related transactions
1414
if (name.includes('auth')) {
1515
return 1;
1616
}
17-
17+
1818
// Sample only 1% of comment-related transactions
1919
if (name.includes('comment')) {
2020
return 0.01;
2121
}
22-
22+
2323
// For everything else, inherit parent sampling decision or use 0.5
2424
return inheritOrSampleWith(0.5);
2525
}
2626
});
27-
```
27+
```

platform-includes/tracing/trace-sampler/javascript.nuxt.mdx renamed to platform-includes/tracing/traces-sampler/javascript.nuxt.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ Sentry.init({
44
tracesSampler: (samplingContext) => {
55
// Access transaction details from the sampling context
66
const { name, attributes, inheritOrSampleWith } = samplingContext;
7-
7+
88
// Skip health checks entirely
99
if (name.includes('healthcheck')) {
1010
return 0;
1111
}
12-
12+
1313
// Capture all auth-related transactions
1414
if (name.includes('auth')) {
1515
return 1;
1616
}
17-
17+
1818
// Sample only 1% of comment-related transactions
1919
if (name.includes('comment')) {
2020
return 0.01;
2121
}
22-
22+
2323
// For everything else, inherit parent sampling decision or use 0.5
2424
return inheritOrSampleWith(0.5);
2525
}
2626
});
27-
```
27+
```

platform-includes/tracing/trace-sampler/javascript.remix.mdx renamed to platform-includes/tracing/traces-sampler/javascript.remix.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ Sentry.init({
66
tracesSampler: (samplingContext) => {
77
// Access transaction details from the sampling context
88
const { name, attributes, inheritOrSampleWith } = samplingContext;
9-
9+
1010
// Skip health checks entirely
1111
if (name.includes('healthcheck')) {
1212
return 0;
1313
}
14-
14+
1515
// Capture all auth-related transactions
1616
if (name.includes('auth')) {
1717
return 1;
1818
}
19-
19+
2020
// Sample only 1% of comment-related transactions
2121
if (name.includes('comment')) {
2222
return 0.01;
2323
}
24-
24+
2525
// For everything else, inherit parent sampling decision or use 0.5
2626
return inheritOrSampleWith(0.5);
2727
}
2828
});
29-
```
29+
```

0 commit comments

Comments
 (0)