Questions tagged [micrometer]

micrometer is a facade to log different kind of metrics to data sinks of multiple vendors.

https://micrometer.io/

Think SLF4J, but for metrics.

Contains built-in support for Prometheus, Netflix Atlas, CloudWatch, Datadog, Graphite, Ganglia, JMX, Influx/Telegraf, New Relic, StatsD, SignalFx, and Wavefront.

563 questions
0
votes
1 answer

How to configure Micronaut and Micrometer to write ILP directly to InfluxDB?

I have a Micronaut application that uses Micrometer to report metrics to InfluxDB with the micronaut-micrometer project. Currently it is using the Statsd Registry provided via the io.micronaut.configuration:micronaut-micrometer-registry-statsd…
Mike Muske
  • 323
  • 1
  • 16
0
votes
1 answer

How to expose cache statistics for Guava Cache

I'm using spring boot 1.5 and I cannot expose guava cache statistics in /prometheus endpoint. Eventually I can expose it as JMX but then I dont know how to wire these things up. Is there some easier way how to do it? I am creating the cache with…
Mejmo
  • 2,363
  • 9
  • 35
  • 54
0
votes
1 answer

Why does CloudWatchConfig interface expect a String of step duration

I am using Micrometer Cloudwatch 1.1.3, brought in with Gradle as compile 'io.micrometer:micrometer-registry-cloudwatch:1.1.3' In Java, I can create a CloudWatchConfig by doing the following: CloudWatchConfig cloudWatchConfig = new…
Arthur
  • 1,332
  • 2
  • 19
  • 39
0
votes
1 answer

Why does MicroMeter Timer returns zero?

Consider the following code: public static void main(String[] args) { Timer timer = Metrics.timer("item.processing"); for (int i = 0; i < 100; i++) { timer.record(i, TimeUnit.SECONDS); } System.out.println(timer.count()); …
IsaacLevon
  • 2,260
  • 4
  • 41
  • 83
0
votes
1 answer

Prometheus + Micrometer: how to record time intervals and success/failure rates

I am sending from a front-end client to a metrics-microservice a JSON with the following data: { totalTimeOnTheNetwork: number; timeElasticsearch: number; isSuccessful: boolean; } The metrics-microservice currently handles the data like…
Phil
  • 7,065
  • 8
  • 49
  • 91
0
votes
1 answer

Possible to export Spring metrics from Micrometer to Kafka?

I am playing around with Spring Boot v2 at the moment. So far, my set up looks like this: Spring -> Telegraf -> Kafka -> Telegraf -> influx I am wondering whether or not it's possible to take out the the first telegraf inbetween Spring and Kafka, so…
kjvf
  • 81
  • 7
0
votes
1 answer

Dynatrace visualizations for Micrometer metrics exported from Spring boot 2

Export metrics to dynatrace using Micrometer.io gradle dependency 'io.micrometer:micrometer-registry-dynatrace:latest.release' version - (1.1.3) Causing Exception -> Error {"error":{"code":400,"message":"Could not map JSON at…
0
votes
1 answer

adding end points in prometheus integration

How to add/integrate rest api end points in prometheus. For eg in splunk we are monitoring micro services transactions and logs. Lets say below spring boot:- /abc/v1/something /abce/v1/something2 In one line :-how can we add above micro services…
lucky
  • 9
  • 1
  • 10
0
votes
1 answer

"t.data.data is undefined" in grafana

I'm new to micrometer, prometheus and grafana. I'm trying to run my first example with these three things working together. But I'm having a hard time figuring out what I'm doing wrong. I'm using micrometer's API to create a PrometheusMeterRegistry…
Lavish Kothari
  • 2,211
  • 21
  • 29
0
votes
1 answer

Measuring ElasticScheduler with micrometer?

Is there any way to measure how ElasticScheduler utilities it's thread pools? I've went through code but I haven't seen any straightforward option to do it.
pixel
  • 24,905
  • 36
  • 149
  • 251
0
votes
1 answer

Custom authentication controller in Spring Security

With Spring Security is there anyway to add a custom controller to execute the POST when using loginProcessingUrl ? As far as I know this is tied to UsernamePasswordAuthenticationFilter. My current security configuration looks like, @Override public…
nixgadget
  • 6,983
  • 16
  • 70
  • 103
0
votes
0 answers

OpenCensus metrics and stats handling coordinated omission

I was looking for information around how OpenCensus metrics handles the problem of "coordinated omission". As far as I saw Micrometer from http://micrometer.io uses the LatencyUtils http://latencyutils.github.io/LatencyUtils/ by Gil Tene to solve…
Artur Ciocanu
  • 335
  • 1
  • 3
  • 9
0
votes
2 answers

Micrometer Timer and Spring Boot 2.0.4

I'm trying to send metrics to InfluxDB using Spring Boot 2.0.4 + Micrometer, but only Counter works, the Timer didn't. So, this is my dependencies: ... io.micrometer
0
votes
2 answers

Graphite doesnt show unit for time metrics

Graphite doesn't show the unit for time metrics. I am not sure if it is milliseconds or microseconds. How to verify that? I am reporting from JMX MeterRegistry.
hegde
  • 1
  • 2
0
votes
1 answer

Spring boot graphite network information

I am setting up graphite / grafana for my spring boot application. I am trying to find how to get network information like bytes in / out (network stats). Can someone tell me how I could derive this information? I am using tomcat as boot server
DBS
  • 794
  • 2
  • 9
  • 21