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

Prometheus: get Azure clouds from SDK #87676

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JonCole
Copy link
Contributor

@JonCole JonCole commented May 11, 2024

What is this feature?

The Prometheus DS frontend currently has the list of azure clouds hard coded. This PR uses the grafana-azure-sdk-react package so that the list can be updated easily. Note: in this PR I am not yet moving from the AzureCredential class defined in the Prom DS to the version of that class in the sdk - that will come in a later PR since it is lower priority.

Why do we need this feature?

This will allow Azure to easily add support for more clouds as they come online

Who is this feature for?

Azure Managed Grafana

Which issue(s) does this PR fix?:

Fixes #

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@JonCole JonCole requested review from a team as code owners May 11, 2024 15:30
@JonCole JonCole requested review from academo and removed request for a team May 11, 2024 15:30
Copy link
Contributor

@aangelisc aangelisc left a comment

Choose a reason for hiding this comment

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

LGTM

@aangelisc aangelisc added no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels May 16, 2024
@aangelisc aangelisc changed the title Prometheus: get the list of azure clouds from the SDK instead of from a hard coded list Prometheus: get Azure clouds from SDK May 16, 2024
@aangelisc aangelisc added this to the 11.1.x milestone May 16, 2024
@CLAassistant
Copy link

CLAassistant commented May 16, 2024

CLA assistant check
All committers have signed the CLA.

@JonCole
Copy link
Contributor Author

JonCole commented May 23, 2024

@academo could you please review and merge ASAP or give any additional feedback required before merge? If you agree with @aangelisc's LGTM response above, we would appreciate your sign off and merge approval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend datasource/Prometheus no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes pr/external This PR is from external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants