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

Dockerize m3aggregator and m3collector and integrate for clustered downsampling #1061

Merged
merged 9 commits into from
Oct 10, 2018

Conversation

robskillington
Copy link
Collaborator

@robskillington robskillington commented Oct 10, 2018

To demo this you can use the following:

cd ./scripts/development/m3_stack
AGGREGATOR_PIPELINE=true ./start_m3.sh

Then in a loop you can emit some metrics through the pipeline to see aggregated metrics flowing:

while true; do sleep 0.05; curl http://localhost:7206/api/v1/json/report -X POST -d '{"metrics":[{"type":"gauge","value":42,"tags":{"__name__":"foo_metric","foo":"bar"}}]}'; done

You can then visit Grafana and setup a Prometheus data source to hit the coordinator directly at http://localhost:7201 with type "Browser" so that direct connection to the coordinator is made without trying to proxy through the docker compose backend network.

Then try to query for foo_metric and you should see some results.

Copy link
Contributor

@richardartoul richardartoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@richardartoul richardartoul merged commit 3bc561b into master Oct 10, 2018
@robskillington robskillington deleted the r/collector-aggregator-integration branch October 10, 2018 23:30
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

Successfully merging this pull request may close these issues.

2 participants