Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Unversion metrics and health #285

Merged
merged 11 commits into from
Jun 4, 2018
Merged

Conversation

FredrikFolkesson
Copy link
Contributor

@FredrikFolkesson FredrikFolkesson commented Jun 2, 2018

This closes #274 and #275

This PR removes /v1/metrics and /v1/health

doc/api-doc.yml Outdated
@@ -1,13 +1,12 @@
info:
title: A Qlik Associative Engine discovery service
version: 0.1.2
version: 0.2.2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this should be a change of API version since we change the paths?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be 0.2.0

@@ -26,15 +25,15 @@ paths:
get:
description: Returns metrics of the Mira service
produces:
- application/json; charset=utf-8
- application/json
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to only application/json since that is what our metrics library gives out.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also JSON according to the spec must be utf-8 so it should be implicit

Copy link
Member

@wennmo wennmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.703% when pulling aab76a7 on unversion-metrics-and-health into 34099a4 on master.

@FredrikFolkesson FredrikFolkesson merged commit 0cb7f3c into master Jun 4, 2018
@FredrikFolkesson FredrikFolkesson deleted the unversion-metrics-and-health branch June 4, 2018 08:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors thrown when accessing /metrics
4 participants