Skip to content

messi655/prometheus-remote-storage-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus remote storage adapter for MySQL

How to run in Testing environment

1. Start docker

  • Go to docker folder
docker-compose up -d

2. Run Adapter

go run main.go -db-user root -db-password 1234 -db-name monitoring -db-port 7306

3. Send data to statsd_exporter

echo -n "test_metric.abc_num_msisdn_rows_distinct.2020-08-28:3811110112|g" | nc -w 1 -u localhost 9125

4. How to check

  • Go to and find test_metric
- StatsD Exporter: http://localhost:9102/metrics
- Prometheus: http://localhost:9090/graph
  • Or go to MySQL database to check

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors