Skip to content

[jmx-scraper] Create correctness tests against target systems #2073

@atoulme

Description

@atoulme

Using the golden tool, generate expected metric files containing metric output from typical target systems.

For correctness, the test consists of a docker compose setup with one container running the target system, such as cassandra, kafka, tomcat - and a container running golden.

The jmx-scraper then runs and outputs to golden the otlp metrics it captures. The golden image then checks the metrics received to the expected yaml.

See https://github.com/signalfx/opentelemetry-ibm-mq-monitoring/tree/main/golden for an example.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions