Skip to content

Commit 67804ee

Browse files
brett0000FFdrichards-87duncanhewett
authored
Add config visibility tip to library config pages. (#32958)
* Add config visibility tip to library config pages. * Revise alert. --------- Co-authored-by: DeForest Richards <56796055+drichards-87@users.noreply.github.com> Co-authored-by: Duncan Hewett <duncanhewett@users.noreply.github.com>
1 parent 195e27b commit 67804ee

File tree

11 files changed

+25
-0
lines changed

11 files changed

+25
-0
lines changed

content/en/tracing/trace_collection/library_config/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ type: multi-code-lang
66

77
This page describes configuration options that behave consistently across all languages. To view these common configuration options, see [Common configuration options](#common-configuration-options).
88

9+
{{% apm-config-visibility %}}
10+
911
For configuration options specific to your programming language, choose your language from the options below:
1012

1113
{{< partial name="apm/apm-compatibility.html" >}}

content/en/tracing/trace_collection/library_config/cpp.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ further_reading:
1717

1818
After you set up the tracing library with your code and configure the Agent to collect APM data, optionally configure the tracing library as desired, including setting up [Unified Service Tagging][1].
1919

20+
{{% apm-config-visibility %}}
21+
2022
It is recommended to use `DD_SERVICE`, `DD_ENV`, and `DD_VERSION` to set `env`, `service` and `version` for your services. Refer to the [Unified Service Tagging][1] docummentation recommendations on which value to set for environment variables.
2123

2224
## Environment variables

content/en/tracing/trace_collection/library_config/dotnet-core.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ further_reading:
3838

3939
After you set up the tracing library with your code and configure the Agent to collect APM data, optionally configure the tracing library as desired, including setting up [Unified Service Tagging][4].
4040

41+
{{% apm-config-visibility %}}
42+
4143
{{< img src="tracing/dotnet/dotnet_core_configuration.png" alt=".NET Core Tracer configuration setting precedence" style="width:100%" >}}
4244

4345
You can set configuration settings in the .NET Tracer with any of the following methods:

content/en/tracing/trace_collection/library_config/dotnet-framework.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ further_reading:
4141

4242
After you set up the tracing library with your code and configure the Agent to collect APM data, optionally configure the tracing library as desired, including setting up [Unified Service Tagging][4].
4343

44+
{{% apm-config-visibility %}}
45+
4446
{{< img src="tracing/dotnet/dotnet_framework_configuration.png" alt=".NET Framework Tracer configuration setting precedence" style="width:100%" >}}
4547

4648
You can set configuration settings in the .NET Tracer with any of the following methods:

content/en/tracing/trace_collection/library_config/go.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ further_reading:
2626

2727
After you [set up the tracing library with your code, configure the Agent to collect APM data, and activate the Go integration][1], start the tracer and configure the library as desired. {{% tracing-go-v2 %}}
2828

29+
{{% apm-config-visibility %}}
30+
2931
Datadog recommends using `DD_ENV`, `DD_SERVICE`, and `DD_VERSION` to set `env`, `service`, and `version` for your services.
3032

3133
Read the [Unified Service Tagging][2] documentation for recommendations on how to configure these environment variables. These variables are available for versions 1.24.0+ of the Go tracer.

content/en/tracing/trace_collection/library_config/java.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ further_reading:
2020

2121
After you set up the tracing library with your code and configure the Agent to collect APM data, optionally configure the tracing library as desired, including setting up [Unified Service Tagging][1].
2222

23+
{{% apm-config-visibility %}}
24+
2325
All configuration options below have system property and environment variable equivalents.
2426
If the same key type is set for both, the system property configuration takes priority.
2527
System properties can be set as JVM flags.

content/en/tracing/trace_collection/library_config/nodejs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ further_reading:
2626

2727
After you set up the tracing library with your code and configure the Agent to collect APM data, optionally configure the tracing library as desired, including setting up [Unified Service Tagging][1].
2828

29+
{{% apm-config-visibility %}}
30+
2931
Tracer settings can be configured with the following environment variables:
3032

3133
### Unified Service Tagging

content/en/tracing/trace_collection/library_config/php.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ further_reading:
2626

2727
After you set up the tracing library with your code and configure the Agent to collect APM data, optionally configure the tracing library as desired, including setting up [Unified Service Tagging][1].
2828

29+
{{% apm-config-visibility %}}
30+
2931
The PHP tracer can be configured using environment variables and INI settings.
3032

3133
INI settings can be configured globally, for example, in the `php.ini` file, or for a specific web server or virtual host.

content/en/tracing/trace_collection/library_config/python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ further_reading:
2626

2727
After you set up the tracing library with your code and configure the Agent to collect APM data, optionally configure the tracing library as desired, including setting up [Unified Service Tagging][1].
2828

29+
{{% apm-config-visibility %}}
30+
2931
When using **ddtrace-run**, the following [environment variable options][2] can be used:
3032

3133
## Unified service tagging

content/en/tracing/trace_collection/library_config/ruby.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ further_reading:
1717

1818
After you set up the tracing library with your code and configure the Agent to collect APM data, optionally configure the tracing library as desired, including setting up [Unified Service Tagging][1].
1919

20+
{{% apm-config-visibility %}}
21+
2022
For information about configuring the Ruby tracing library, see [Additional Ruby configuration][2].
2123

2224
## Further Reading

0 commit comments

Comments
 (0)