Skip to content

Commit 57791ad

Browse files
committed
Replace telemetryKind with telemetryType
1 parent 24a430c commit 57791ad

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-monitor/app/java-standalone-sampling-overrides.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ To begin, create a configuration file named *applicationinsights.json*. Save it
4848
"sampling": {
4949
"overrides": [
5050
{
51-
"telemetryKind": "request",
51+
"telemetryType": "request",
5252
"attributes": [
5353
...
5454
],
5555
"percentage": 0
5656
},
5757
{
58-
"telemetryKind": "request",
58+
"telemetryType": "request",
5959
"attributes": [
6060
...
6161
],
@@ -69,7 +69,7 @@ To begin, create a configuration file named *applicationinsights.json*. Save it
6969

7070
## How it works
7171

72-
`telemetryKind` must be one of `request`, `dependency`, `trace` (log), or `exception`.
72+
`telemetryType` must be one of `request`, `dependency`, `trace` (log), or `exception`.
7373

7474
When a span is started, the type of span and the attributes present on it at that time are used to check if any of the sampling
7575
overrides match.
@@ -104,7 +104,7 @@ This will also suppress collecting any downstream spans (dependencies) that woul
104104
"sampling": {
105105
"overrides": [
106106
{
107-
"telemetryKind": "request",
107+
"telemetryType": "request",
108108
"attributes": [
109109
{
110110
"key": "http.url",
@@ -131,7 +131,7 @@ This will suppress collecting telemetry for all `GET my-noisy-key` redis calls.
131131
"sampling": {
132132
"overrides": [
133133
{
134-
"telemetryKind": "dependency",
134+
"telemetryType": "dependency",
135135
"attributes": [
136136
{
137137
"key": "db.system",
@@ -170,7 +170,7 @@ those will also be collected for all '/login' requests.
170170
"sampling": {
171171
"overrides": [
172172
{
173-
"telemetryKind": "request",
173+
"telemetryType": "request",
174174
"attributes": [
175175
{
176176
"key": "http.url",

0 commit comments

Comments
 (0)