Questions tagged [prometheus-java]

Refers to specific questions about the library for JVM applications

Prometheus instrumentation library for JVM applications

Java Doc: http://prometheus.github.io/client_java/

Source code: https://github.com/prometheus/client_java

81 questions
0
votes
1 answer

Security vulnerabilities to JMX Exporter in Prometheus

I want to expose kafka and zookeeper metrics in prometheus. I do not want to use jmx_exporter because to integrate this I need to expose a port which has security vulnerabilities. Prometheus also has a third-party kafka_exporter. Is it possible to…
0
votes
1 answer

Using Prometheus PushGateway with OpenCensus Java Client

I've got a CronJob running that I'd like to integrate OpenCensus into to export to Prometheus. However I currently have to add a 1 minute sleep after my job finishes to make sure that Prometheus has scraped my metrics. I'd like to use the Prometheus…
Paul
  • 4,422
  • 5
  • 29
  • 55
0
votes
1 answer

Flaky prometheus java client

I'm using the Prometheus 0.6.0 Java client in a relatively simple app. All I have are two counters and two gauges, and they are exposed via an HTTP REST endpoint, using the built-in Prometheus HTTPServer And I'm seeing pretty flaky…
mjuarez
  • 16,372
  • 11
  • 56
  • 73
0
votes
0 answers

Prometheus Connection issue with Confluent Platform 5.1.4

After upgrading our confluent kafka from 3.3.2 to 5.1.4, not able to start the broker with prometheus JMX exporter java agent configured -javaagent://jmx_prometheus_javaagent 0.9.jar=0.0.0.0:7072://kafkaconf.yaml" Not able to…
Sivasonai
  • 71
  • 4
-1
votes
1 answer

Display only a count of failures for Java success/fail metrics

Quick question regarding how to build a visual on a specific condition of a java counter in Grafana please. Currently, I have a small piece of java code, straightforward. private String question(MeterRegistry meterRegistry) { if…
PatPanda
  • 3,644
  • 9
  • 58
  • 154
-2
votes
2 answers

Access container end point in multi-container environment using Application Load Balancer DNS in aws

Hello all so I have a Springboot application that is fetching data from aws S3 and I am using Prometheus to monitor the Springboot app. In ECS I create a task definition and added both the images with their respective port mappings then I created a…
1 2 3 4 5
6