Skip to content

Commit f8dacc9

Browse files
authored
Updates jmxfetch configs readme (#8769)
The script `copy-metric-configs.sh` has been replaced by a gradle task. And the github query is more precise.
1 parent 746a7fd commit f8dacc9

File tree

2 files changed

+9
-8
lines changed
  • dd-java-agent/agent-jmxfetch/src/main/resources/datadog/trace/agent/jmxfetch

2 files changed

+9
-8
lines changed

dd-java-agent/agent-jmxfetch/src/main/resources/datadog/trace/agent/jmxfetch/README

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Metric Configs
2+
3+
Files from [integrations-core](https://github.com/search?q=repo%3ADataDog%2Fintegrations-core+%22jmx_metrics%3A%22+language%3AYAML&type=code)
4+
are copied here at build time by the `copyMetricConfigs` gradle task after initializing the submodule.
5+
6+
These are then bundled in `dd-java-agent.jar`. Due to limitations in Java jar walking, it is non-trivial
7+
to get all these files from within the jar without knowing their names.
8+
Consequently, we list out each integration in `datadog/trace/agent/jmxfetch/metricconfigs.txt`
9+
so the agent can reference them.

0 commit comments

Comments
 (0)