Comments on: Custom metrics visualization with Grafana and InfluxDB https://piotrminkowski.com/2017/07/13/custom-metrics-visualization-with-grafana-and-influxdb/ Java, Spring, Kotlin, microservices, Kubernetes, containers Sat, 05 Sep 2020 14:57:37 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: Exporting metrics to InfluxDB and Prometheus using Spring Boot Actuator – Piotr's TechBlog https://piotrminkowski.com/2017/07/13/custom-metrics-visualization-with-grafana-and-influxdb/#comment-376 Fri, 11 May 2018 09:44:18 +0000 https://piotrminkowski.wordpress.com/?p=4550#comment-376 […] with Spring Boot 1.5. You can see for yourself how much by reading one of my previous articles Custom metrics visualization with Grafana and InfluxDB. I described there how to export metrics generated by Spring Boot Actuator to InfluxDB using […]

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2017/07/13/custom-metrics-visualization-with-grafana-and-influxdb/#comment-375 Sat, 03 Mar 2018 13:29:30 +0000 https://piotrminkowski.wordpress.com/?p=4550#comment-375 In reply to Александр Кожин (@AlexandrKozhin).

Hi. Thanks. I always publish link to sample code in the articles, but this I had forgetten. Here’s sample application: https://github.com/piomin/sample-spring-graphite.git

]]>
By: Александр Кожин (@AlexandrKozhin) https://piotrminkowski.com/2017/07/13/custom-metrics-visualization-with-grafana-and-influxdb/#comment-374 Sat, 03 Mar 2018 08:11:59 +0000 https://piotrminkowski.wordpress.com/?p=4550#comment-374 Good helpful post, thank you! Could you please put source code of example on github?

]]>
By: Michal https://piotrminkowski.com/2017/07/13/custom-metrics-visualization-with-grafana-and-influxdb/#comment-373 Mon, 31 Jul 2017 09:55:46 +0000 https://piotrminkowski.wordpress.com/?p=4550#comment-373 Good job. You can also use cloud-based solution e.g. https://corlysis.com/ so you do not have to install and configure grafana and influxdb

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2017/07/13/custom-metrics-visualization-with-grafana-and-influxdb/#comment-372 Fri, 28 Jul 2017 07:29:49 +0000 https://piotrminkowski.wordpress.com/?p=4550#comment-372 In reply to Shubham.

How did you run influxdb?

]]>
By: Shubham https://piotrminkowski.com/2017/07/13/custom-metrics-visualization-with-grafana-and-influxdb/#comment-371 Thu, 27 Jul 2017 20:32:10 +0000 https://piotrminkowski.wordpress.com/?p=4550#comment-371 While following the “first step is to create InfluxDB data source.” I got this message – “Could not find the specified database name”. Would like to know how to go ahead with creating database and when I am trying to access localhost:8086 (which is url for influxDB) I am getting 404 but when using
$ curl -G ‘http://localhost:8086/query’ –data-urlencode “db=grafana” –data-urlencode “q=SELECT * FROM points” -vvvv

Output:
——
* Trying ::1…
* Connected to localhost (::1) port 8086 (#0)
> GET /query?db=grafana&q=SELECT%20%2A%20FROM%20points HTTP/1.1
> Host: localhost:8086
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Connection: close
< Content-Type: application/json
< Request-Id: 8b854cd0-730a-11e7-800a-000000000000
< X-Influxdb-Version: 1.3.1
< Date: Thu, 27 Jul 2017 20:31:18 GMT
< Transfer-Encoding: chunked
<
{"results":[{"statement_id":0,"error":"database not found: grafana"}]}
* Closing connection 0

]]>