Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.07 KB

File metadata and controls

34 lines (26 loc) · 1.07 KB

embedded-prometheus

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-prometheus</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • embedded.prometheus.enabled (true|false, default is true)

  • embedded.prometheus.reuseContainer (true|false, default is false)

  • embedded.prometheus.dockerImage (default is 'prom/prometheus:v2.54.1')

  • embedded.prometheus.networkAlias (default is 'prometheus')

  • embedded.toxiproxy.proxies.prometheus.enabled Enables both creation of the container with ToxiProxy TCP proxy and a proxy to the embedded-prometheus container.

Produces

  • embedded.prometheus.host

  • embedded.prometheus.port

  • embedded.prometheus.toxiproxy.host

  • embedded.prometheus.toxiproxy.port

  • embedded.prometheus.staticNetworkAlias

  • embedded.prometheus.internalPort

  • Bean ToxiproxyContainer.ContainerProxy prometheusContainerProxy