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

move prometheus exporter config to use readers #1337

Closed

Conversation

codeboten
Copy link
Contributor

This moves the configuration to use metric readers configuration instead of the deprecated address configuration.

This moves the configuration to use metric readers configuration
instead of the deprecated `address` configuration.

Signed-off-by: Alex Boten <[email protected]>
Comment on lines 140 to 145
readers:
- pull:
exporter:
prometheus:
host: ${env:MY_POD_IP}
port: 8888
Copy link
Member

Choose a reason for hiding this comment

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

This will be equivalent for anyone who is not configuring config.service.telemetry.metrics.address but what will happen if someone has done something like --set config.service.telemetry.metrics.address=${env:MY_POD_IP}:9090?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there would be 2 prometheus ports exposed in that case

Copy link
Member

@TylerHelmuth TylerHelmuth Sep 9, 2024

Choose a reason for hiding this comment

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

We should introduce a template in config that will build the reader yaml from .Values.config.service.telemetry.metrics.address if it is set and otherwise use .Values.config.service.telemetry.metrics.readers.

Signed-off-by: Alex Boten <[email protected]>
Copy link

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Sep 24, 2024
@github-actions github-actions bot removed the Stale label Oct 2, 2024
Copy link

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Oct 16, 2024
Copy link

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Oct 31, 2024
@codeboten
Copy link
Contributor Author

Can someone reopen this please 😬

@Allex1 Allex1 reopened this Nov 14, 2024
davidcaste and others added 17 commits November 14, 2024 11:09
…try-kube-stack.labels (open-telemetry#1363)

* fix: Add missing release label to opentelemetry-kube-stack.labels

* [opentelemetry-kube-stack] Bump to v0.2.2 and regenerate examples
…allowed" error while adding selector label to service (open-telemetry#1370)

* [opentelemetry-kube-stack]: Fix "Additional property selector is not allowed" error while adding selector label to service
…metry#1373)

Bumps [kyverno/action-install-chainsaw](https://github.com/kyverno/action-install-chainsaw) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/kyverno/action-install-chainsaw/releases)
- [Commits](kyverno/action-install-chainsaw@v0.2.10...v0.2.11)

---
updated-dependencies:
- dependency-name: kyverno/action-install-chainsaw
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…y#1384)

* [kube-stack] Bump opentelemetry-operator chart to 0.71

* chore: bump chart version

* update operator crds

* ci: bump python version
* Fix volume and mount indentation

* make
…ok (open-telemetry#1391)

* Fix Collector CRD referencing non-existing service due to webhooks disabled

* [chore] Bump chart version and generate examples

* Revert "[chore] Bump chart version and generate examples"

This reverts commit 26277e6.

* [chore] Generate Examples For OTEL Operator Only

* [fix] Fix test failure due to bundle CRDs diff due to webhook templating

* [chore] Make diff output silent again
)

* [kube-stack] Bump operator chart dependency version

* fix: generate examples
…mediate vulnerabilities (open-telemetry#1397)

* [opentelemetry-operator] Update kube-rbac-proxy image from 0.15.0 to 0.18.1

Signed-off-by: Edwin Tye <[email protected]>

* [opentelemetry-operator] remove argument logtostderr as it no longer has effect since 0.16.0

Signed-off-by: Edwin Tye <[email protected]>

---------

Signed-off-by: Edwin Tye <[email protected]>
…try#1395)

* docs: docs: adjust a description error in NOTES.txt file

* fix: bump the patch version of the operator Chart.yaml
* Bump operator to v0.111.0

* make crds

* fix crd

* regenerate examples

* Fix crd generation and checking
…y#1367)

* Add emptydir volume

* Add sidecarContainer component, and add flagd-ui

* flagd UI

Signed-off-by: Pierre Tessier <[email protected]>

* update chart, demo version and dependencies

Signed-off-by: Pierre Tessier <[email protected]>

* update chart, demo version and dependencies

Signed-off-by: Pierre Tessier <[email protected]>

* add env variables to network bind otel collector in Jaeger

Signed-off-by: Pierre Tessier <[email protected]>

* fix linter issue

Signed-off-by: Pierre Tessier <[email protected]>

* generate examples

Signed-off-by: Pierre Tessier <[email protected]>

* use Helm v3.14.4

Signed-off-by: Pierre Tessier <[email protected]>

* update Helm prerequisite to 3.14+

Signed-off-by: Pierre Tessier <[email protected]>

* use helm 3.14.4 for demo only

Signed-off-by: Pierre Tessier <[email protected]>

* added note about Helm version

Signed-off-by: Pierre Tessier <[email protected]>

---------

Signed-off-by: Pierre Tessier <[email protected]>
Co-authored-by: Pierre Tessier <[email protected]>
@github-actions github-actions bot removed the Stale label Nov 15, 2024
Copy link

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 29, 2024
Copy link

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.