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

Usage Help! #9

Open
getamu opened this issue Jul 2, 2020 · 0 comments
Open

Usage Help! #9

getamu opened this issue Jul 2, 2020 · 0 comments

Comments

@getamu
Copy link

getamu commented Jul 2, 2020

Hey,
I came across this repo and I just wanted to confirm on how to use/integrate the cloudwatch and dropwizard metrics using your repo.
From the looks of it,

  1. I have to add dependency,
<groupId>io.github.azagniotov</groupId>
<artifactId>dropwizard-metrics-cloudwatch</artifactId>
<version>2.0.5</version>
  1. Change the config.yml file as illustrated.
  2. Build the report and start it inside the service.
new CloudWatchReporterBuilder()
                .withNamespace(ExampleMetrics.class.getSimpleName())
                .withRegistry(registry)
                .build()
                .start(1, TimeUnit.MINUTES);

I tried with first two steps and didn't work.
PS: I didn't provide the AWS secret keys. So, that is why the metrics are not being reported to that AWS account.
Please help

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