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

vmetrics enable external URL #422

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Conversation

DaMandal0rian
Copy link
Member

@DaMandal0rian DaMandal0rian commented Feb 26, 2025

User description

This allows dashboards to be shared publicly


PR Type

enhancement


Description

  • Updated the external.url to enable public sharing.

  • Changed the URL to a secure external domain.

  • Facilitates external access to Grafana dashboards.


Changes walkthrough 📝

Relevant files
Enhancement
docker-compose.yml
Update `external.url` for public Grafana access                   

logging/victoriametrics/deployment/docker/docker-compose.yml

  • Updated the external.url configuration.
  • Changed the URL from localhost to a public domain.
  • Ensures Grafana dashboards are accessible externally.
  • +1/-1     

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • Copy link

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 No relevant tests
    🔒 Security concerns

    Sensitive information exposure:
    The new --external.url exposes Grafana dashboards publicly. Ensure proper authentication and access controls are in place to prevent unauthorized access or data leakage.

    ⚡ Recommended focus areas for review

    URL Change Validation

    Ensure that the new --external.url value (https://grafana.vmetrics.subspace.network) is correctly configured, accessible, and secure for public sharing.

    - "--external.url=https://grafana.vmetrics.subspace.network" #grafana outside container

    Copy link

    PR Code Suggestions ✨

    Explore these optional code suggestions:

    CategorySuggestion                                                                                                                                    Impact
    General
    Validate the external URL configuration

    Ensure that the new --external.url value uses a secure and valid HTTPS endpoint, and
    verify that the domain grafana.vmetrics.subspace.network is correctly configured and
    accessible from the container environment.

    logging/victoriametrics/deployment/docker/docker-compose.yml [106]

    -- "--external.url=https://grafana.vmetrics.subspace.network" #grafana outside container
    +- "--external.url=https://grafana.vmetrics.subspace.network" # Ensure this URL is accessible and properly configured
    Suggestion importance[1-10]: 6

    __

    Why: The suggestion to validate the external URL configuration is relevant and ensures that the new URL is secure and accessible, which is important for functionality. However, it is not actionable as it only asks for verification without proposing a specific code change, reducing its impact slightly.

    Low

    @DaMandal0rian DaMandal0rian merged commit 9aee354 into main Feb 26, 2025
    1 check passed
    @DaMandal0rian DaMandal0rian deleted the vmetrics-external-share-url branch February 26, 2025 20:22
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant