Skip to content

Commit 557c91a

Browse files
author
Gus
authored
Merge pull request DataDog#3113 from DataDog/gus/title
removing title in tabs
2 parents e5e96b0 + 51944ef commit 557c91a

File tree

3 files changed

+14
-19
lines changed

3 files changed

+14
-19
lines changed

content/agent/proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ proxy:
6969
- host2
7070
```
7171

72-
#### Proxy with environment variables
72+
**Proxy with environment variables**:
7373

7474
Starting with Agent v6.4, you can set your proxy settings through environment variables:
7575

content/monitors/notifications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Send the monitor notification to the appropriate endpoint:
229229

230230
After having installed the Slack integration, type `@slack` in your notification message to see the available list of channels to send your notification to.
231231

232-
#### @-mentions in Slack from monitor alert
232+
**@-mentions in Slack from monitor alert**:
233233

234234
Wrap the `@username` in `< >` as seen below in your monitors message template to **@ notify** the defined user within slack notifications.
235235
For example this configuration:
@@ -251,7 +251,7 @@ For user groups, use `<!subteam^GROUP_ID|GROUP_NAME>`. To find the `GROUP_ID`, [
251251
Note: Trailing special characters in a channel name are unsupported for the Slack @-notifications.
252252
e.g. `@----critical_alerts` works, but `@--critical_alerts--` won't receive any notifications.
253253

254-
#### Using message template variables to dynamically create @-mentions
254+
**Using message template variables to dynamically create @-mentions**:
255255

256256
Use message template variables within a monitor message to dynamically build **@-mentions**.
257257

content/tracing/advanced_usage/_index.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Tags are key-value pairs attached to spans. All tags share a single namespace.
1515

1616
The Datadog UI uses specific tags to set UI properties, such as an application's service name. A full list of these tags can be found in the [Datadog][java api doc] and [OpenTracing][opentracing java doc] APIs.
1717

18-
### Custom Tags
18+
**Custom Tags**:
1919

2020
Custom tags are set using the OpenTracing API.
2121

@@ -458,7 +458,7 @@ OpenTracing is a vendor-neutral, cross-language standard for tracing application
458458

459459
Use the [OpenTracing API][opentracing-java] and the Datadog Tracer (dd-trace-ot) library to measure execution times for specific pieces of code. This lets you trace your application more precisely than you can with the Java Agent alone.
460460

461-
### Setup
461+
**Setup**:
462462

463463
For Maven, add this to `pom.xml`:
464464

@@ -497,7 +497,7 @@ Configure your application using environment variables or system properties as d
497497

498498
[configuration]: /tracing/setup/java/#configuration
499499

500-
### Manual Instrumentation with OpenTracing
500+
**Manual Instrumentation with OpenTracing**:
501501

502502
Use a combination of these if the automatic instrumentation isn’t providing you enough depth or detail.
503503

@@ -592,7 +592,7 @@ public class Application {
592592
}
593593
```
594594

595-
#### Manual Instrumentation for Async Traces
595+
**Manual Instrumentation for Async Traces**:
596596

597597
Create asynchronous traces with manual instrumentation using the OpenTracing API.
598598

@@ -635,7 +635,7 @@ Support for OpenTracing with Ruby is coming soon. Reach out to [the Datadog supp
635635

636636
Import the [`opentracer` package][opentracing godoc] to expose the Datadog tracer as an [OpenTracing][open tracing] compatible tracer.
637637

638-
### Example
638+
**Example**:
639639

640640
A basic usage example:
641641

@@ -1059,7 +1059,7 @@ The Java tracer exposes two API calls to allow printing trace and span identifie
10591059

10601060
These identifiers can be injected into application logs using MDC frameworks.
10611061

1062-
##### log4j2
1062+
**log4j2**:
10631063

10641064
```java
10651065
import org.apache.logging.log4j.ThreadContext;
@@ -1075,7 +1075,7 @@ try {
10751075
}
10761076
```
10771077

1078-
##### slf4j/logback
1078+
**slf4j/logback**:
10791079

10801080
```java
10811081
import org.slf4j.MDC;
@@ -1091,13 +1091,13 @@ try {
10911091
}
10921092
```
10931093

1094-
##### log4j2 XML Pattern
1094+
**log4j2 XML Pattern**:
10951095

10961096
```xml
10971097
<PatternLayout pattern="%clr{%d{yyyy-MM-dd HH:mm:ss.SSS}}{faint} %clr{%5p} %clr{${sys:PID}}{magenta} %clr{---}{faint} %X{ddTraceID} %X{ddSpanID} %m%n%xwEx" />
10981098
```
10991099

1100-
##### Logback XML Pattern
1100+
**Logback XML Pattern**:
11011101

11021102
```xml
11031103
<Pattern>
@@ -1164,20 +1164,17 @@ We discourage enabling debug mode on your production systems as it increases the
11641164
{{< tabs >}}
11651165
{{% tab "Java" %}}
11661166

1167-
### Enabling Debug Mode
11681167
To return debug level application logs, enable debug mode with the flag `-Ddatadog.slf4j.simpleLogger.defaultLogLevel=debug` when starting the JVM.
11691168

11701169
{{% /tab %}}
11711170
{{% tab "Python" %}}
11721171

1173-
### Enabling Debug Mode
11741172
Debugging is disabled by default.
11751173

11761174
To enable it set the environment variable `DATADOG_TRACE_DEBUG=true` when using `ddtrace-run`.
11771175
{{% /tab %}}
11781176
{{% tab "Ruby" %}}
11791177

1180-
### Enabling Debug Mode
11811178
Debug mode is disabled by default. To enable:
11821179

11831180
```ruby
@@ -1186,7 +1183,7 @@ Datadog.configure do |c|
11861183
end
11871184
```
11881185

1189-
### Application Logs
1186+
**Application Logs**:
11901187

11911188
By default, all logs are processed by the default Ruby logger. When using Rails, you should see the messages in your application log file.
11921189

@@ -1210,7 +1207,6 @@ See [the API documentation][ruby logging docs] for more details.
12101207
{{% /tab %}}
12111208
{{% tab "Go" %}}
12121209

1213-
### Enabling Debug Mode
12141210
Debug mode on the tracer can be enabled as a `Start` config, resulting in more verbose logging:
12151211

12161212
```go
@@ -1228,7 +1224,6 @@ func main() {
12281224

12291225
{{% tab "Node.js" %}}
12301226

1231-
### Enabling Debug Mode
12321227
Debug mode is disabled by default, to enable it:
12331228

12341229
```javascript
@@ -1237,7 +1232,7 @@ const tracer = require('dd-trace').init({
12371232
})
12381233
```
12391234

1240-
### Application Logs
1235+
**Application Logs**:
12411236

12421237
By default, logging from this library is disabled. In order to get debbuging information and errors sent to logs, the `debug` options should be set to `true` in the [init()][init method] method.
12431238

0 commit comments

Comments
 (0)