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

Add cluster-level metrics to container insight receiver #3683

Merged
merged 4 commits into from
Jun 8, 2021
Merged

Add cluster-level metrics to container insight receiver #3683

merged 4 commits into from
Jun 8, 2021

Conversation

pxaws
Copy link
Contributor

@pxaws pxaws commented Jun 2, 2021

Description:
Add k8sapiserver component to collect cluster-level metrics from k8s api server:

  • To guarantees that only one piece of cluster-level metric is generated per cluster, we utilize the leader election API provided by kubernetes/client-go. A dedicated configmap is used as the lock resource. Multiple receivers will try to acquire the lock and only one will succeed and generate cluster-level metrics.

Link to tracking Issue:
#2307

Testing:
Unit tests

@pxaws pxaws requested a review from anuraaga as a code owner June 2, 2021 00:08
@pxaws pxaws requested a review from a team June 2, 2021 00:08
@alolita alolita assigned Aneurysm9 and unassigned anuraaga Jun 3, 2021
@pxaws pxaws changed the title add cluster-level metrics to container insight receiver Add cluster-level metrics to container insight receiver Jun 4, 2021
@alolita alolita added the ready to merge Code review completed; ready to merge by maintainers label Jun 8, 2021
@tigrannajaryan
Copy link
Member

Does this fully resolve #2307 ? If so update the PR description to reflect that.

@pxaws
Copy link
Contributor Author

pxaws commented Jun 8, 2021

Does this fully resolve #2307 ? If so update the PR description to reflect that.

No. It doesn't resolve the issue. There are still some pending PRs for the issue.

@tigrannajaryan tigrannajaryan merged commit 2643e8b into open-telemetry:main Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants