Sign inSign up

jolt/carbonapi

By jolt

Updated over 7 years ago

Something to render go-carbon backend data for my Grafana setup.

Image
0

496

jolt/carbonapi repository overview

carbonapi

The carbonapi, dockerized by me.

Why diz?

I only need the binary, not all a proper dist, so I :

  • Compile go-carbon with golang docker
  • Copy the static binary to a alpine container. Could't just use the binary because you have to pass ENV variables on which carbonzipper to connect to and for that I needed a shell.

How do I get it rolling?

  • docker pull jolt/carbonapi
  • set the CARBONZIPPER_HOST (and port).
  • set the GRAPHITE_HOST (and port) to send carbonapi-metrics to.
  • (optionally) set MEMCACHED:HOST (and port).

In short:

docker run -d --name carbonapi --env=CARBONZIPPER_HOST=10.0.3.1:8086 --env=GRAPHITE_HOST=10.0.3.1:2003 -p 8186:8186 jolt/carbonapi
Thanks to

bodsch, who created the Dockerfile/Makefile that I started out with.

Tag summary

Content type

Image

Digest

Size

5 MB

Last updated

over 7 years ago

docker pull jolt/carbonapi