Coder Social home page Coder Social logo

docker-go-graphite's People

Contributors

civil avatar denisidoro avatar deniszh avatar nikobearrr avatar spuder avatar yorickps avatar zlogene avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-go-graphite's Issues

How to change config files with docker assigned volumes?

Thanks for making these docker containers.

What is the recommended practice to change config files? Traditionally I've used the legacy 'bind' mount to point to files on the host managed by puppet.

docker run -it -v /etc/grafana/ldap.toml:/etc/grafana/ldap.toml gographite/go-graphite:1.0.4

However because this container uses the new volumes, I'm not able to use the older bind mounts.

https://docs.docker.com/storage/

If you mount a bind mount or non-empty volume into a directory in the container in which some files or directories exist, these files or directories are obscured by the mount, just as if you saved files into /mnt on a Linux host and then mounted a USB drive into /mnt. The contents of /mnt would be obscured by the contents of the USB drive until the USB drive were unmounted. The obscured files are not removed or altered, but are not accessible while the bind mount or volume is mounted.

Some people suggest using busybox to inject config files

https://stackoverflow.com/questions/37468788/what-is-the-right-way-to-add-data-to-an-existing-named-volume-in-docker

docker run -v my-jenkins-volume:/data --name helper busybox true
docker cp . helper:/data
docker rm helper

This feels unnecessarily complicated.

How do you recommend users change config files inside the docker container?

Datasource provision sometimes fails

Hello,

First off, very good job, congratulations.

I am having some problems with the provision of the datasource. In some machines the provision is done properly and in other machines the provision fails and the datasource is not created.

I have been able to reproduce the problem by setting a lower sleep time in the Dockerfile grafana installation. If you set "sleep 1" instead of 5 you will see that grafana has not the datasource provisioned once it is up.

The Dockerfile copies the provision yaml to /etc/grafana/provisioning/datasources/carbonapi.yaml, but actually, once the grafana-server is started by the run script, the homepath is set to

--homepath=/usr/share/grafana/

And the configuration file says that the provisioning file should be in /usr/share/grafana/conf/provisioning/...

In order to make it work I made some changes. I have submitted those changes as a pull request, just in case you agree with them and want to merge them.

Thank you very much for sharing this, and BR.

External grafana cannot connect to carbonapi

If you run the docker image as provided it is shipped with Grafana.
However, you might want to use external grafana. In such case you won't be able to connect, even though the port 8081 is exported.

image

Update Version

Hello,
good job. Is it possible to upgrade grafana to version 5?

Best regards

carbonapi exposed but unreachable

The carbonapi port (8081) is exposed, but unreachable, even if mapped at runtime.

Mapping the port at runtime with -p 8081:8081 appears to work, but when you connect to the port, you get

connection reset by peer

The issue is that the carbonapi server binds to 127.0.0.1 instead of 0.0.0.0.

Please have carbonapi bind to 0.0.0.0 by default. This will enable mapping 8081 at runtime to work.

Tag support

Is there any way to make tags work as expected?

I ingested data into graphite using the pickle format and here's what I get:

Screen Shot 2021-02-02 at 07 41 01

You can see that the metric names preserved ;..., which I think they shouldn't.

Clicking on seriesByTag in the screenshot above does nothing (the function dropdown gets deselected) and sometimes grafana displays a red rectangle with 404 not found

I even tried upgrading all dependencies. Same error.

Sidenote: I tried tweaking with the datasource settings inside Grafana. Still no luck.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.