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

Howto / full config.toml example ? #365

Closed
fred-cm opened this issue Jan 19, 2021 · 2 comments
Closed

Howto / full config.toml example ? #365

fred-cm opened this issue Jan 19, 2021 · 2 comments

Comments

@fred-cm
Copy link

fred-cm commented Jan 19, 2021

Hello

The readme says : It is configured through the top level server-mode configuration setting.
https://github.com/atlassian/gostatsd#configuring-the-server-mode

And I would like to disable internal metrics, which directive is in the same section of readme, so my config is :

[server-mode]
standalone='true'
statser-type='null'
[graphite]
address = "localhost:2003"
dial_timeout = '3s'
write_timeout = '10s'
mode = 'tags'

But this doesn't work .. an example in the readme is welcome :)

@tiedotguy
Copy link
Collaborator

server-mode is a key in the top level, it has no [name] section, so it would look something like:

server-mode='standalone'
statser-type='null'
backends=['graphite']

[graphite]
address='localhost:2003'
...

There's an issue open to redo the documentation (#264), but I want to get clustering done before then, which is blocked on other approvers :(

@fred-cm
Copy link
Author

fred-cm commented Jan 19, 2021

Thanks guy!

@fred-cm fred-cm closed this as completed Jan 19, 2021
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

2 participants