Sign inSign up

orachide/sql-feed-graphite

By orachide

Updated over 9 years ago

Triger Cron based job to query SQL Database and send result to Graphite

Image
0

1.1K

orachide/sql-feed-graphite repository overview

Docker SQL feed graphite

This is based on sql-feed-graphite

Only following DB are supported:

  • PosgresSQL
  • MySQL

Docker image that feed Graphite database from SQL DB

sudo docker run -d  --name sql-feed-graphite \
        -e SQL_FEED_GRAPHITE_DB_URL='postgresql://test:test@localhost:5432/test' \
        -e SQL_FEED_GRAPHITE_PREFIX='metrics' \
        -e SQL_FEED_GRAPHITE_HOST='localhost' \
        -e SQL_FEED_GRAPHITE_PORT=5432 \
        -e SQL_FEED_GRAPHITE_QUERIES_DIR='/opt/sql-feed-graphite/queries/' \
        -v /opt/sql-feed-graphite/queries/:/opt/sql-feed-graphite/queries/ \
        orachide/sql-feed-graphite

Tag summary

Content type

Image

Digest

Size

199.7 MB

Last updated

over 9 years ago

docker pull orachide/sql-feed-graphite