-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding JMX support to e2e tests (#1248)
- Loading branch information
1 parent
bef3516
commit aa7598a
Showing
6 changed files
with
183 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
components/datadog/apps/jmxfetch/docker-compose-all-metrics.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
version: "3.9" | ||
|
||
services: | ||
|
||
jmx-test-app: | ||
labels: | ||
com.datadoghq.ad.checks: | | ||
{ | ||
"test": { | ||
"init_config": { | ||
"is_jmx": true, | ||
"collect_default_metrics": true, | ||
"new_gc_metrics": true, | ||
"conf": [ | ||
{ | ||
"include": { | ||
"domain": "dd.test.sample", | ||
"type": "simple", | ||
"attribute": { | ||
"ShouldBe100": { | ||
"metric_type": "gauge", | ||
"alias": "test.e2e.jmxfetch.gauge_100" | ||
}, | ||
"ShouldBe200": { | ||
"metric_type": "gauge", | ||
"alias": "test.e2e.jmxfetch.gauge_200" | ||
}, | ||
"IncrementCounter": { | ||
"metric_type": "counter", | ||
"alias": "test.e2e.jmxfetch.increment_counter" | ||
}, | ||
"ShouldBeCounter": { | ||
"metric_type": "counter", | ||
"alias": "test.e2e.jmxfetch.basic_counter" | ||
}, | ||
"SpecialCounter": { | ||
"metric_type": "counter", | ||
"alias": "test.e2e.jmxfetch.special_counter" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"instances": [ | ||
{ | ||
"host": "%%host%%", | ||
"port": "9010" | ||
} | ||
] | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
components/datadog/apps/jmxfetch/docker-compose-slow-metrics.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
version: "3.9" | ||
|
||
services: | ||
|
||
jmx-test-app: | ||
labels: | ||
com.datadoghq.ad.checks: | | ||
{ | ||
"test": { | ||
"init_config": { | ||
"is_jmx": true, | ||
"collect_default_metrics": true, | ||
"new_gc_metrics": true, | ||
"conf": [ | ||
{ | ||
"include": { | ||
"domain": "dd.test.sample", | ||
"type": "simple", | ||
"attribute": { | ||
"ShouldBe100": { | ||
"metric_type": "gauge", | ||
"alias": "test.e2e.jmxfetch.gauge_100" | ||
}, | ||
"ShouldBe200": { | ||
"metric_type": "gauge", | ||
"alias": "test.e2e.jmxfetch.gauge_200" | ||
}, | ||
"IncrementCounter": { | ||
"metric_type": "counter", | ||
"alias": "test.e2e.jmxfetch.increment_counter" | ||
}, | ||
"ShouldBeSlowCounter": { | ||
"metric_type": "counter", | ||
"alias": "test.e2e.jmxfetch.basic_counter" | ||
}, | ||
"SpecialCounter": { | ||
"metric_type": "counter", | ||
"alias": "test.e2e.jmxfetch.special_counter" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"instances": [ | ||
{ | ||
"host": "%%host%%", | ||
"port": "9010" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters