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

Register a metrics endpoint via manifest file #2

Open
honnel opened this issue Feb 21, 2019 · 1 comment
Open

Register a metrics endpoint via manifest file #2

honnel opened this issue Feb 21, 2019 · 1 comment

Comments

@honnel
Copy link

honnel commented Feb 21, 2019

At the moment we are registering metrics endpoints with:

 $ cf register-metrics-endpoint app /actuator/prometheus

Is there a possibility to do this in a declarative way in manifest.yaml like other service bindings?

@odedia
Copy link

odedia commented Aug 11, 2019

I haven't test this, but if you'll take a look at the generated user-provided service, it appears that it simply creates a syslog drain url in the followng format:

metrics-endpoint:///actuator/metrics

Should be fairly simple to create a user-provided service in advance with the same configuration.

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