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

Use the /v2 metrics endpoint instead of /metrics #116

Merged
merged 2 commits into from
Feb 11, 2014

Conversation

kbarber
Copy link
Contributor

@kbarber kbarber commented Feb 11, 2014

The base url /metrics has long been a deprecated URL and creates noise when
tested like this. Not to mention in current puppetdb master we are removing
/v1 support so this test starts to break.

By making it /v2, we still afford support for most of our 1.x users, and
since /v2 will be around for quite some time this seems like a suitable
temporary step.

In the future a generic URL should really be provided by PuppetDB as something
that is more permanent and generic.

Signed-off-by: Ken Barber ken@bob.sh

The base url /metrics has long been a deprecated URL and creates noise when
tested like this. Not to mention in current puppetdb master we are removing
/v1 support so this test starts to break.

By making it /v2, we still afford support for most of our 1.x users, and
since /v2 will be around for quite some time this seems like a suitable
temporary step.

In the future a generic URL should really be provided by PuppetDB as something
that is more permanent and generic.

Signed-off-by: Ken Barber <ken@bob.sh>
Signed-off-by: Ken Barber <ken@bob.sh>
senior added a commit that referenced this pull request Feb 11, 2014
Use the /v2 metrics endpoint instead of /metrics
@senior senior merged commit a45c1ad into puppetlabs:master Feb 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants