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

Upate Observatorium API to get latest improvements #271

Merged
merged 6 commits into from May 13, 2020

Conversation

metalmatze
Copy link
Contributor

This update aims to simplify Observatorium APIs configuration surface.

Breaking changes:

  • Observatorium API Thanos Querier serving only UI assets is obsolete
  • --metrics.ui.endpoint was removed
  • --metrics.read.endpoint takes the root path and appends /api/v1/{query/query_range}
  • --metrics.write.endpoint takes the root path and appends /api/v1/receive
  • Updates from Observatorium API configuration (Port for internal server, healthcheck improvements)

As I was touching all manifests and its jsonnet I took some minutes to add some proper Makefile targets that will only rebuild, if dependent files change.

/cc @squat @brancz @kakkoyun @krasi-georgiev

As we cover the Operator in e2e tests and I actually tried it on a local kind cluster, I don't expect any breaking changes from this for the Operator itself. /cc @rollandf @nmagnezi

This update aims to simplify Observatorium APIs configuration surface.

Breaking changes:

 * Observatorium API Thanos Querier serving only UI assets is obsolete
 * --metrics.ui.endpoint was removed
* --metrics.read.endpoint takes the root path and appends
/api/v1/{query/query_range}
* --metrics.write.endpoint takes the root path and appends
/api/v1/receive
* Updates from Observatorium API configuration (Port for internal
server, healthcheck improvements)
squat
squat previously approved these changes May 12, 2020
Copy link
Member

@squat squat left a comment

Choose a reason for hiding this comment

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

looks great @metalmatze!
lgtm on green

@rollandf
Copy link
Contributor

Nice additions to the Makefile!

Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

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

Great 🥇 Makefile 🎉

@metalmatze metalmatze merged commit 2ad96d1 into observatorium:master May 13, 2020
#!/bin/bash
# This is a placeholder file needed by the CI/CD templates
# You can safely ignore this file :)
exit 0
Copy link
Contributor

Choose a reason for hiding this comment

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

are you sure this should be removed? last time I talked to @aditya-konarde he mentioned that this is still needed by the CI.

Copy link
Member

Choose a reason for hiding this comment

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

grrr this is true

@metalmatze metalmatze deleted the api-update branch September 17, 2020 10:29
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

Successfully merging this pull request may close these issues.

None yet

6 participants