Skip to content

Observability as Code - Git Sync: custom webhook url #108664

@guillermotti

Description

@guillermotti

What happened?

I configured the Git Sync provisioning and all the dashboards located in the GitHub repository are appearing correctly in Grafana.

I checked the webhook created in the GitHub repository and is not working with this error:

 Last delivery was not successful. failed to connect to host. 

This is because my Grafana instance is not exposed externally.

What did you expect to happen?

I would like to expose externally only the path required by the webhook to work and any other path to Grafana would stay private so I expect to configure this within the Git Sync settings which now is not supported.

By default the webhook is configured with the default Grafana URL, even if this is private.

Did this work before?

I don't think so, this is something new.

How do we reproduce it?

  1. Install Grafana under an internal ingress not exposed to the internet
  2. Configure Git Sync
  3. Check GitHub webhook which is failing as is not able to reach Grafana URL because is not exposed

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Grafana: Grafana v12.1.0-254718 (011f4dd)

Grafana platform?

Kubernetes

Datasource(s)?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions