Skip to content

enable usage of Contact Point custom payload with webhooks #2200

@afreitas5

Description

@afreitas5

Feature Request

Currently the Grafana provider does not support sending a custom payload when creating a Contact Point that has an integration of type "Webhook".

The only block that could support a notification template would be message one, but that will only create the template in the Message field, as shown below:

Image

When setup this way, the system that will receive the request won't accept the payload, probably due some limitation of how a notification template can be used with the Message field.

If I manually add a custom payload and associate the same notification template (which disables the message field), things works as expected.

Image

Even though the latest provider version doesn't support a payload block, the export of the contact point generates a HCL configuration with such field (after the manual change).

Image

We are using Grafana version v12.0.0 (4c0e7045f9), the provider version is 3.25.1.

Are you planning to have this implemented in the future? Would a pull request be acceptable in this case?

Thanks!

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions