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

wip: detect aks cluster name #3

Closed
wants to merge 11 commits into from
Closed

Conversation

jsirianni
Copy link
Owner

@jsirianni jsirianni commented Oct 27, 2023

Description:

Added best effort support for detecting Azure Kubernetes Service cluster name: k8s.cluster.name.

The cluster name can be extracted from the cluster's "resource group name" which is retrieved using existing functionality. The parseClusterName function has comments explaining the limitations.

Link to tracking Issue:

open-telemetry#26794

Testing:

I added unit tests for each scenario, and have tested against live AKS clusters that fit each scenario. I am happy to spin these up if anyone has any questions.

Documentation:

Added k8s.cluster.name to the list of AKS resource attributes.

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 Stale and removed Stale labels Nov 14, 2023
@jsirianni jsirianni force-pushed the azure/detect-cluster-name branch from 78e2dab to 68dd15c Compare November 16, 2023 17:34
@jsirianni jsirianni marked this pull request as ready for review November 17, 2023 14:22
@jsirianni jsirianni force-pushed the azure/detect-cluster-name branch from 125db6d to 0065a48 Compare December 4, 2023 19:02
@jsirianni jsirianni force-pushed the azure/detect-cluster-name branch from 0065a48 to 030bdc1 Compare December 18, 2023 15:45
Copy link

github-actions bot commented Jan 2, 2024

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 Jan 2, 2024
@jsirianni jsirianni closed this Jan 2, 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.

3 participants