Skip to content

Commit 104abca

Browse files
authored
Remove HTML for new site-wide tab style. (#29312)
1 parent 32d738b commit 104abca

File tree

1 file changed

+52
-74
lines changed
  • content/en/tracing/metrics/runtime_metrics

1 file changed

+52
-74
lines changed

content/en/tracing/metrics/runtime_metrics/_index.md

+52-74
Original file line numberDiff line numberDiff line change
@@ -37,100 +37,90 @@ Runtime metrics are available for several programming languages and runtimes, wi
3737

3838
{{< tabs >}}
3939
{{% tab "Java" %}}
40-
<div class="alert bg-light">
41-
<ul>
42-
<li><strong>Enabled By Default</strong>: Yes</li>
43-
<li><strong>Library Version</strong>: 0.29.0+</li>
44-
<li><strong>Support Level</strong>: GA</li>
45-
<li><strong>Generates runtime-id granularity</strong>: Yes</li>
46-
<li><strong>Runtimes</strong>: Java 8+</li>
47-
</ul>
40+
41+
- **Enabled By Default**: Yes
42+
- **Library Version**: 0.29.0+
43+
- **Support Level**: GA
44+
- **Generates runtime-id granularity**: Yes
45+
- **Runtimes**: Java 8+
46+
4847
<div class="alert alert-warning">JMX metrics collection is not supported in AWS Lambda environments.</div>
49-
</div>
48+
5049
{{% /tab %}}
5150

5251
{{% tab "Python" %}}
53-
<div class="alert bg-light">
54-
<ul>
55-
<li><strong>Enabled By Default</strong>: No</li>
56-
<li><strong>Library Version</strong>: 0.30.0+</li>
57-
<li><strong>Support Level</strong>: Preview</li>
58-
<li><strong>Generates runtime-id granularity</strong>: No</li>
59-
<li><strong>Runtimes</strong>: All supported Python versions</li>
60-
</ul>
61-
</div>
52+
53+
- **Enabled By Default**: No
54+
- **Library Version**: 0.30.0+
55+
- **Support Level**: Preview
56+
- **Generates runtime-id granularity**: No
57+
- **Runtimes**: All supported Python versions
58+
6259
{{% /tab %}}
6360

6461
{{% tab "Ruby" %}}
65-
<div class="alert bg-light">
66-
<ul>
67-
<li><strong>Enabled By Default</strong>: No</li>
68-
<li><strong>Library Version</strong>: 0.44.0+</li>
69-
<li><strong>Support Level</strong>: GA</li>
70-
<li><strong>Generates runtime-id granularity</strong>: No</li>
71-
<li><strong>Runtimes</strong>: All supported Ruby versions</li>
72-
</ul>
62+
63+
- **Enabled By Default**: No
64+
- **Library Version**: 0.44.0+
65+
- **Support Level**: GA
66+
- **Generates runtime-id granularity**: No
67+
- **Runtimes**: All supported Ruby versions
68+
7369

7470
<div class="alert alert-info">You must add the <a href="https://rubygems.org/gems/dogstatsd-ruby">dogstatsd-ruby</a> gem to your application.</div>
75-
</div>
71+
7672
{{% /tab %}}
7773

7874
{{% tab "Go" %}}
79-
<div class="alert bg-light">
80-
<ul>
81-
<li><strong>Enabled By Default</strong>: No</li>
82-
<li><strong>Library Version</strong>: 1.18.0+</li>
83-
<li><strong>Support Level</strong>: GA</li>
84-
<li><strong>Generates runtime-id granularity</strong>: Yes</li>
85-
<li><strong>Runtimes</strong>: All supported Go versions</li>
86-
</ul>
87-
</div>
75+
76+
- **Enabled By Default**: No
77+
- **Library Version**: 1.18.0+
78+
- **Support Level**: GA
79+
- **Generates runtime-id granularity**: Yes
80+
- **Runtimes**: All supported Go versions
81+
8882
{{% /tab %}}
8983

9084
{{% tab "Node.js" %}}
91-
<div class="alert bg-light">
92-
<ul>
93-
<li><strong>Enabled By Default</strong>: No</li>
94-
<li><strong>Library Version</strong>: 3.0.0+</li>
95-
<li><strong>Support Level</strong>: GA</li>
96-
<li><strong>Generates runtime-id granularity</strong>: No</li>
97-
<li><strong>Runtimes</strong>: All supported Node.js versions</li>
98-
</ul>
99-
</div>
85+
86+
- **Enabled By Default**: No
87+
- **Library Version**: 3.0.0+
88+
- **Support Level**: GA
89+
- **Generates runtime-id granularity**: No
90+
- **Runtimes**: All supported Node.js versions
91+
10092
{{% /tab %}}
10193

10294
{{% tab ".NET" %}}
103-
<div class="alert bg-light">
104-
<ul>
105-
<li><strong>Enabled By Default</strong>: No</li>
106-
<li><strong>Library Version</strong>: 1.23.0+</li>
107-
<li><strong>Support Level</strong>: GA</li>
108-
<li><strong>Generates runtime-id granularity</strong>: Yes</li>
109-
<li><strong>Runtimes</strong>: .NET Framework 4.6.1+ and .NET Core 3.1+ (including .NET 5 and newer).</li>
110-
</ul>
11195

112-
<h4>Permissions for Internet Information Services (IIS)</h4>
96+
- **Enabled By Default**: No
97+
- **Library Version**: 1.23.0+
98+
- **Support Level**: GA
99+
- **Generates runtime-id granularity**: Yes
100+
- **Runtimes**: .NET Framework 4.6.1+ and .NET Core 3.1+ (including .NET 5 and newer).
113101

114-
<p>On .NET Framework, metrics are collected using performance counters. Users in non-interactive logon sessions (that includes IIS application pool accounts and some service accounts) must be added to the <strong>Performance Monitoring Users</strong> group to access counter data.</p>
102+
#### Permissions for Internet Information Services (IIS)
115103

116-
<p>IIS application pools use special accounts that do not appear in the list of users. To add them to the Performance Monitoring Users group, look for <code>IIS APPPOOL\<name of the pool></code>. For instance, the user for the DefaultAppPool would be <code>IIS APPPOOL\DefaultAppPool</code>.</p>
104+
On .NET Framework, metrics are collected using performance counters. Users in non-interactive logon sessions (that includes IIS application pool accounts and some service accounts) must be added to the **Performance Monitoring Users** group to access counter data.
117105

118-
<p>This can be done either from the "Computer Management" UI, or from an administrator command prompt:</p>
106+
IIS application pools use special accounts that do not appear in the list of users. To add them to the Performance Monitoring Users group, look for `IIS APPPOOL\<name of the pool>`. For instance, the user for the DefaultAppPool would be `IIS APPPOOL\DefaultAppPool`.
107+
108+
This can be done either from the "Computer Management" UI, or from an administrator command prompt:
119109

120110
```shell
121111
net localgroup "Performance Monitor Users" "IIS APPPOOL\DefaultAppPool" /add
122112
```
123-
</div>
113+
124114
{{% /tab %}}
125115
{{% tab "PHP" %}}
126-
<div class="alert bg-light">
116+
127117
<div class="alert alert-warning">Runtime metrics for PHP is not supported.</div>
128-
</div>
118+
129119
{{% /tab %}}
130120
{{% tab "C++" %}}
131-
<div class="alert bg-light">
121+
132122
<div class="alert alert-warning">Runtime metrics for C++ is not supported.</div>
133-
</div>
123+
134124
{{% /tab %}}
135125
{{< /tabs >}}
136126

@@ -187,18 +177,15 @@ In addition to environment variables, some languages support configuring runtime
187177

188178
{{< tabs >}}
189179
{{% tab "Java" %}}
190-
<div class="alert bg-light">
191180

192181
You can only enable runtime metrics with [environment variables](#environment-variables).
193182

194183
However, you can extend the metrics collected by adding custom JMX metrics. For more information, see [JMX Integration][100] documentation.
195184

196185
[100]: /integrations/java/
197-
</div>
198186
{{% /tab %}}
199187

200188
{{% tab "Python" %}}
201-
<div class="alert bg-light">
202189

203190
You can enable runtime metrics with [environment variables](#environment-variables) or in code:
204191

@@ -208,11 +195,9 @@ RuntimeMetrics.enable()
208195
```
209196

210197
<div class="alert alert-warning">This only applies if you are not using <code>ddtrace-run</code></div>
211-
</div>
212198
{{% /tab %}}
213199

214200
{{% tab "Ruby" %}}
215-
<div class="alert bg-light">
216201

217202
You can enable runtime metrics with [environment variables](#environment-variables) or in code:
218203

@@ -230,11 +215,9 @@ Datadog.configure do |c|
230215
c.runtime_metrics.statsd = Datadog::Statsd.new
231216
end
232217
```
233-
</div>
234218
{{% /tab %}}
235219

236220
{{% tab "Go" %}}
237-
<div class="alert bg-light">
238221

239222
You can enable runtime metrics with [environment variables](#environment-variables) or in code:
240223

@@ -253,11 +236,9 @@ The `WithDogstatsdAddr` option allows you to specify a custom address for the Do
253236

254237
[100]: https://pkg.go.dev/gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer#WithDogstatsdAddress
255238
[101]: https://pkg.go.dev/github.com/DataDog/dd-trace-go/v2/ddtrace/tracer#WithDogstatsdAddress
256-
</div>
257239
{{% /tab %}}
258240

259241
{{% tab "Node.js" %}}
260-
<div class="alert bg-light">
261242

262243
You can enable runtime metrics with [environment variables](#environment-variables) or in code:
263244

@@ -267,15 +248,12 @@ const tracer = require('dd-trace').init({
267248
runtimeMetrics: true
268249
})
269250
```
270-
</div>
271251
{{% /tab %}}
272252

273253
{{% tab ".NET" %}}
274-
<div class="alert bg-light">
275254

276255
You can only enable runtime metrics with [environment variables](#environment-variables).
277256

278-
</div>
279257
{{% /tab %}}
280258
{{< /tabs >}}
281259

0 commit comments

Comments
 (0)