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

makes the dashboard title configurable. #226

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fbettag
Copy link

@fbettag fbettag commented Dec 8, 2023

Change description

This adds the configuration variable titleto dashboard_assigns, making it possible to use a different name for the dashboard, other than MyProject.

What problem does this solve?

I have multiple versions of the same codebase running, thus in my Grafana the Dashboards get overriden since they all have the same otp_name.

Example usage

  def dashboard_assigns do
    [
      datasource_id: PetalPro.config(:prometheus_datasource_id),
      default_selected_interval: "30s",
      title: "ainomaly.io"
    ]
  end

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.

None yet

1 participant