You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><strong>Runtimes</strong>: .NET Framework 4.6.1+ and .NET Core 3.1+ (including .NET 5 and newer).</li>
110
-
</ul>
111
95
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).
113
101
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)
115
103
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\<nameofthepool></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.
117
105
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:
119
109
120
110
```shell
121
111
net localgroup "Performance Monitor Users""IIS APPPOOL\DefaultAppPool" /add
122
112
```
123
-
</div>
113
+
124
114
{{% /tab %}}
125
115
{{% tab "PHP" %}}
126
-
<divclass="alert bg-light">
116
+
127
117
<divclass="alert alert-warning">Runtime metrics for PHP is not supported.</div>
128
-
</div>
118
+
129
119
{{% /tab %}}
130
120
{{% tab "C++" %}}
131
-
<divclass="alert bg-light">
121
+
132
122
<divclass="alert alert-warning">Runtime metrics for C++ is not supported.</div>
133
-
</div>
123
+
134
124
{{% /tab %}}
135
125
{{< /tabs >}}
136
126
@@ -187,18 +177,15 @@ In addition to environment variables, some languages support configuring runtime
187
177
188
178
{{< tabs >}}
189
179
{{% tab "Java" %}}
190
-
<divclass="alert bg-light">
191
180
192
181
You can only enable runtime metrics with [environment variables](#environment-variables).
193
182
194
183
However, you can extend the metrics collected by adding custom JMX metrics. For more information, see [JMX Integration][100] documentation.
195
184
196
185
[100]: /integrations/java/
197
-
</div>
198
186
{{% /tab %}}
199
187
200
188
{{% tab "Python" %}}
201
-
<divclass="alert bg-light">
202
189
203
190
You can enable runtime metrics with [environment variables](#environment-variables) or in code:
204
191
@@ -208,11 +195,9 @@ RuntimeMetrics.enable()
208
195
```
209
196
210
197
<divclass="alert alert-warning">This only applies if you are not using <code>ddtrace-run</code></div>
211
-
</div>
212
198
{{% /tab %}}
213
199
214
200
{{% tab "Ruby" %}}
215
-
<divclass="alert bg-light">
216
201
217
202
You can enable runtime metrics with [environment variables](#environment-variables) or in code:
218
203
@@ -230,11 +215,9 @@ Datadog.configure do |c|
230
215
c.runtime_metrics.statsd =Datadog::Statsd.new
231
216
end
232
217
```
233
-
</div>
234
218
{{% /tab %}}
235
219
236
220
{{% tab "Go" %}}
237
-
<divclass="alert bg-light">
238
221
239
222
You can enable runtime metrics with [environment variables](#environment-variables) or in code:
240
223
@@ -253,11 +236,9 @@ The `WithDogstatsdAddr` option allows you to specify a custom address for the Do
0 commit comments