Skip to content

Commit a54a7c6

Browse files
[docs] Miscellaneous docs clean up (#2576)
Miscellaneous docs clean up including: * [x] Removing unused substitutions * [x] Moving images per elastic/docs-builder#774 * [x] Clean up redirecting links * [x] ~~Clean up asciidoc-style links~~
1 parent c8cf867 commit a54a7c6

14 files changed

+24
-502
lines changed

docs/docset.yml

Lines changed: 0 additions & 478 deletions
Large diffs are not rendered by default.

docs/reference/config-all-options-summary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mapped_pages:
55

66
# All options summary [config-all-options-summary]
77

8-
| Option name | [![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration) | Keywords |
8+
| Option name | [![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration) | Keywords |
99
| --- | --- | --- |
1010
| [`ApiKey`](/reference/config-reporter.md#config-api-key) | No | Reporter |
1111
| [`ApplicationNamespaces`](/reference/config-stacktrace.md#config-application-namespaces) | No | Stacktrace |

docs/reference/config-core.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mapped_pages:
88

99
## `Recording` ([1.7.0]) [config-recording]
1010

11-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
11+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
1212

1313
A Boolean specifying if the agent should be recording or not. When recording, the agent captures HTTP requests, tracks errors, and collects and sends metrics. When not recording, the agent works as a noop, where it does not collect data or communicate with the APM server, except for polling the central configuration endpoint. This is a reversible switch, so the agent threads are not killed when deactivated, but they will be mostly idle in this state, so the overhead should be negligible.
1414

@@ -135,7 +135,7 @@ On ASP.NET Core application the agent uses [EnvironmentName from IHostingEnviron
135135

136136
## `TransactionSampleRate` [config-transaction-sample-rate]
137137

138-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
138+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
139139

140140
By default, the agent samples every transaction (e.g. a request to your service). To reduce overhead and storage requirements, set the sample rate to a value between 0.0 and 1.0. The agent will still record the overall time and result for unsampled transactions, but no context information, labels, or spans will be recorded.
141141

@@ -157,7 +157,7 @@ This setting can be changed after the agent starts.
157157

158158
## `TransactionMaxSpans` (performance) ([1.1.1]) [config-transaction-max-spans]
159159

160-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
160+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
161161

162162
This limits the amount of spans that are recorded per transaction. This is helpful when a transaction creates a very high amount of spans, for example, thousands of SQL queries. Setting an upper limit helps prevent overloading the Agent and APM server in these edge cases.
163163

@@ -192,7 +192,7 @@ If set to `true`, the agent makes periodic requests to the APM Server to fetch t
192192

193193
## `SanitizeFieldNames` ([1.2]) [config-sanitize-field-names]
194194

195-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
195+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
196196

197197
Sometimes, sanitizing, i.e., redacting sensitive data sent to Elastic APM, is necessary. This configuration accepts a comma-separated list of wildcard patterns of field names that should be sanitized. These apply to HTTP headers for requests and responses, cookies and `application/x-www-form-urlencoded` data.
198198

@@ -243,7 +243,7 @@ This option requires APM Server 7.2 or later. It will have no effect on older ve
243243

244244
## `SpanCompressionEnabled` ([1.14]) [config-span-compression-enabled]
245245

246-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
246+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
247247

248248
Setting this option to true will enable span compression feature. Span compression reduces the collection, processing, and storage overhead, and removes clutter from the UI. The tradeoff is that some information such as DB statements of all the compressed spans will not be collected.
249249

@@ -258,7 +258,7 @@ Setting this option to true will enable span compression feature. Span compressi
258258

259259
## `SpanCompressionExactMatchMaxDuration` ([1.14]) [config-span-compression-exact-match-max-duration]
260260

261-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
261+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
262262

263263
Consecutive spans that are exact match and that are under this threshold will be compressed into a single composite span. This option does not apply to composite spans. This reduces the collection, processing, and storage overhead, and removes clutter from the UI. The tradeoff is that the DB statements of all the compressed spans will not be collected.
264264

@@ -273,7 +273,7 @@ Consecutive spans that are exact match and that are under this threshold will be
273273

274274
## `SpanCompressionSameKindMaxDuration` ([1.14]) [config-span-compression-same-kind-max-duration]
275275

276-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
276+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
277277

278278
Consecutive spans to the same destination that are under this threshold will be compressed into a single composite span. This option does not apply to composite spans. This reduces the collection, processing, and storage overhead, and removes clutter from the UI. The tradeoff is that the DB statements of all the compressed spans will not be collected.
279279

@@ -288,7 +288,7 @@ Consecutive spans to the same destination that are under this threshold will be
288288

289289
## `ExitSpanMinDuration` ([1.14]) [config-exit-span-min-duration]
290290

291-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
291+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
292292

293293
Sets the minimum duration of exit spans. Exit spans with a duration lesser than this threshold are attempted to be discarded. If the exit span is equal or greater the threshold, it should be kept. In some cases exit spans cannot be discarded. For example, spans that propagate the trace context to downstream services, such as outgoing HTTP requests, can’t be discarded. However, external calls that don’t propagate context, such as calls to a database, can be discarded using this threshold. Additionally, spans that lead to an error can’t be discarded.
294294

docs/reference/config-http.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mapped_pages:
88

99
## `CaptureBody` (performance) ([1.0.1]) [config-capture-body]
1010

11-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
11+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
1212

1313
For transactions that are HTTP requests, the agent can optionally capture the request body, e.g., POST variables. If the request has a body and this setting is disabled, the body will be shown as [REDACTED]. This option is case-insensitive.
1414

@@ -65,7 +65,7 @@ This setting can be changed after the agent starts.
6565

6666
## `CaptureHeaders` (performance) [config-capture-headers]
6767

68-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
68+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
6969

7070
If set to `true`, the agent will capture request and response headers, including cookies.
7171

@@ -85,7 +85,7 @@ Setting this to `false` reduces memory allocations, network bandwidth, and disk
8585

8686
## `TraceContinuationStrategy` (performance) ([1.17.0]) [config-trace-continuation-strategy]
8787

88-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
88+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
8989

9090
Valid options: `continue`, `restart`, `restart_external`.
9191

@@ -110,7 +110,7 @@ In order to handle this properly, the agent offers trace continuation strategies
110110

111111
## `TransactionIgnoreUrls` (performance) [config-transaction-ignore-urls]
112112

113-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
113+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
114114

115115
This is used to restrict requests to certain URLs from being instrumented.
116116

@@ -151,7 +151,7 @@ Changing this configuration will overwrite the default value.
151151

152152
## `TransactionNameGroups` ([1.27.0]) [config-transaction-name-groups]
153153

154-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
154+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
155155

156156
With this option, you can group transaction names that contain dynamic parts with a wildcard expression. For example, the pattern `GET /user/*/cart` would consolidate transactions, such as `GET /users/42/cart` and `GET /users/73/cart` into a single transaction name `GET /users/*/cart`, hence reducing the transaction name cardinality.
157157

@@ -183,7 +183,7 @@ When this setting is `true`, the agent also adds the header `elasticapm-tracepar
183183

184184
## `UsePathAsTransactionName` ([1.27.0]) [config-use-path-as-transaction-name]
185185

186-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
186+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
187187

188188
If set to `true`, transaction names of unsupported or partially-supported frameworks will be in the form of `$method $path` instead of just `$method unknown route`.
189189

@@ -218,7 +218,7 @@ This is useful when using windows authentication on a proxy, that routes APM age
218218

219219
## `BaggageToAttach` ([1.24]) [config-baggage-to-attach]
220220

221-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
221+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
222222

223223
Controls which baggage values are automatically attached to the given event (transaction, span, error). Baggage values are derived from the `baggage` header defined in the [W3C Baggage specification](https://www.w3.org/TR/baggage/). You can programmatically write and read baggage values via the [Activity API](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activity?view=net-6.0). For more details, see [`our documentation on how to integrate with OpenTelemetry`](/reference/opentelemetry-bridge.md#baggage-api).
224224

docs/reference/config-stacktrace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Namespaces are checked with `string.StartsWith()`, so "System." matches all Syst
3939

4040
## `StackTraceLimit` (performance) [config-stack-trace-limit]
4141

42-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
42+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
4343

4444
Setting this to `0` disables stack trace collection. Any positive integer value will be used as the maximum number of frames to collect. Setting it to -1 means that all frames will be collected.
4545

@@ -59,7 +59,7 @@ If you would like to disable stack trace capturing only for spans, but still cap
5959

6060
### `SpanStackTraceMinDuration` (performance) [config-span-stack-trace-min-duration]
6161

62-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
62+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
6363

6464
In its default settings, the APM agent collects a stack trace for every recorded span with duration longer than `5ms`. While this is very helpful to find the exact place in your code that causes the span, collecting this stack trace does have some overhead. When setting this option to zero (regardless of the time unit), like `0ms`, stack traces are collected for all spans. Setting it to a positive value, e.g. `5ms`, limits stack trace collection to spans with durations equal to or longer than the given value, e.g. 5 milliseconds.
6565

docs/reference/config-supportability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mapped_pages:
88

99
## `LogLevel` [config-log-level]
1010

11-
[![dynamic config](../images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
11+
[![dynamic config](/reference/images/dynamic-config.svg "") ](/reference/configuration.md#dynamic-configuration)
1212

1313
Sets the logging level for the agent.
1414

docs/reference/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ By default, the agent uses environment variables. Additionally, on ASP.NET Core,
1212

1313
## Dynamic configuration [dynamic-configuration]
1414

15-
Configuration options that are marked with the ![dynamic config](../images/dynamic-config.svg "") badge can be changed at runtime when set from a supported source.
15+
Configuration options that are marked with the ![dynamic config](/reference/images/dynamic-config.svg "") badge can be changed at runtime when set from a supported source.
1616

1717
The .NET Agent supports [Central configuration](docs-content://solutions/observability/apps/apm-agent-central-configuration.md), which allows you to fine-tune certain configurations via the APM app. This feature is enabled in the Agent by default, with [`CentralConfig` ([1.1])](/reference/config-core.md#config-central-config).
1818

File renamed without changes.

0 commit comments

Comments
 (0)