Skip to content

Conversation

@mudit06mah
Copy link

Summary:

Adds a Test Connection Button to the settings page.

Related Issue:

Closes #489

Changes:

  • Adds a Test Connection button to the settings->plugins->prometheus Page.
  • Shows alert and logs errors if any.

Screenshots:

image image

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a "Test Connection" button to the Prometheus plugin settings page, allowing users to verify their Prometheus service connection before saving the configuration.

Changes:

  • Added test connection functionality with status feedback (idle/testing/success/error)
  • Implemented UI for test button alongside the address field with success/error alerts
  • Added state management for test status and messaging

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mudit06mah mudit06mah force-pushed the feat/prometheus-test-button branch from dd19776 to d09438c Compare January 22, 2026 11:06
@mudit06mah
Copy link
Author

@illume I have made all the changes suggested by co-pilot.

…ings

Signed-off-by: mudit06mah <mudit06maheshwari@gmail.com>
@mudit06mah mudit06mah force-pushed the feat/prometheus-test-button branch from d09438c to ce6e1cb Compare January 25, 2026 17:54
@mudit06mah
Copy link
Author

@illume I have also updated the commit message here, Can you please review? 👾

@mudit06mah
Copy link
Author

@illume Can you please review this again? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prometheus: button to "test connection"

1 participant