Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how to configure carbon #50

Open
polettix opened this issue Apr 14, 2023 · 0 comments
Open

Question: how to configure carbon #50

polettix opened this issue Apr 14, 2023 · 0 comments

Comments

@polettix
Copy link

TL;DR: Is there any way to provide custom configuration files to Graphite/Carbon/etc.?


I'm new to Graphite and I see that the configuration of the storage/retention part is done via Carbon, like described here.

The graphite:info sub-command shows a configuration directory as Config dir:

$ dokku graphite:info collector
=====> collector graphite service information
       Config dir:          /var/lib/dokku/services/grafana-graphite-statsd/collector/config
       Config options:                               
       Data dir:            /var/lib/dokku/services/grafana-graphite-statsd/collector/data
       Dsn:                 statsd://dokku-graphite-collector:8125
       Exposed ports:       8125->8130 8126->24633 80->16633 81->3218 2003->10232 
       Id:                  035c4592067a5898310fe25facaeb57b79c38341c4d3a9dac247708c8bf819fe
       Internal ip:         172.17.0.3               
       Initial network:                              
       Links:               -                        
       Post create network:                          
       Post start network:                           
       Service root:        /var/lib/dokku/services/grafana-graphite-statsd/collector
       Status:              running                  
       Version:             dokku/docker-grafana-graphite:6.4.4

I tried to put a modified storage-schemas.conf file inside the Config dir and then restarted the service, but it seems that the new configuration file does not end in the right place inside the container.

Is there any way to provide custom configurations for Graphite/Carbon?

In case there is and someone knows about it, I'd be happy to try and transform any quick answer into some documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant