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

Make Prometheus trait compatible with Knative Serving #1478

Merged
merged 5 commits into from
Jun 3, 2020
Merged

Make Prometheus trait compatible with Knative Serving #1478

merged 5 commits into from
Jun 3, 2020

Conversation

astefanutti
Copy link
Member

Fixes #1459.

Release Note

fix: Prometheus scraping now works with Knative Serving

pkg/trait/prometheus.go Outdated Show resolved Hide resolved
Knative enforces specific values used for content negotiation.
The Prometheus port is not to be exposed anyway when Knative profile
is enabled, as Knative also enforces a single container port.
@astefanutti astefanutti merged commit 726d849 into apache:master Jun 3, 2020
@astefanutti astefanutti deleted the pr-106 branch June 3, 2020 08:52
@astefanutti astefanutti added area/observability Logging, monitoring and tracing area/knative Related to Knative labels Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/knative Related to Knative area/observability Logging, monitoring and tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to start Prometheus when Knative enabled.
3 participants