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

configuration via yml files (& profiles)? #190

Open
hartmut-pq opened this issue Sep 6, 2016 · 0 comments
Open

configuration via yml files (& profiles)? #190

hartmut-pq opened this issue Sep 6, 2016 · 0 comments

Comments

@hartmut-pq
Copy link

hartmut-pq commented Sep 6, 2016

Hi,

I was wondering if configuration is supported similar to mentioned here:
https://github.com/jdamick/dropwizard-metrics-cloudwatch

metrics:
  reporters:
    - type: cloudwatch
      namespace: some_namespace
      globalDimensions:
        - env=dev  # for example
      awsSecretKey: <optional>
      awsAccessKeyId: <optional>
      awsRegion: <optional: region name to use for cloudwatch reporting>

-> e.g. to configure a console reporter via application properties, using yaml profile configurations like this?

metrics:
  reporters:
    - type: console

As I can see there are existing Parsers, .. for the xml bean processing - shouldn't be too complicated to register beans based on app properties as well, right?

Are pull requests welcome? (I can see lot's of open ones..)
I would be happy to contribute but I'm not quite clear where to start. Any hints?

Allowing to configure reporters via spring profiles would make staging, ... much easier - allowing to configure / add different types and configurations of reporters easily for different profiles...

Thanks

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