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

Add option to extend ElasticMeterRegistry and override producing index name #1331

Closed
malex211 opened this issue Mar 26, 2019 · 0 comments · Fixed by #1332
Closed

Add option to extend ElasticMeterRegistry and override producing index name #1331

malex211 opened this issue Mar 26, 2019 · 0 comments · Fixed by #1332
Labels
enhancement A general enhancement registry: elastic An ElasticSearch Registry related issue

Comments

@malex211
Copy link
Contributor

The goal is to add option to override the current index name format.

Currently generating the index name is not very generic: it uses a prefix, a separator and a date postfix. Although all three can be configured, there's no way to use an index with custom format. I think making the indexName method protected gives the developers the option to override the current behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A general enhancement registry: elastic An ElasticSearch Registry related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants