Back to Testcontainers Java

Grafana

docs/modules/grafana.md

2.0.5888 B
Original Source

Grafana

Testcontainers module for Grafana OTel LGTM.

LGTM's usage examples

You can start a Grafana OTel LGTM container instance from any Java application by using:

<!--codeinclude-->

Grafana Otel LGTM container inside_block:container

<!--/codeinclude-->

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

=== "Gradle" groovy testImplementation "org.testcontainers:testcontainers-grafana:{{latest_version}}"

=== "Maven" xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers-grafana</artifactId> <version>{{latest_version}}</version> <scope>test</scope> </dependency>