You can attach custom data to webhook destinations on an alert. Custom data can be useful for making connections between Lightstep data and other systems, or including contextual information about a Stream.
This custom data is included in the notification body sent by a webhook when a condition is violated. Systems that receive these webhook messages can parse the data and take action based on the contents.
Add Custom Data to Alerts
You can add any valid JSON data as Custom Data. The maximum length allowed is 64 kilobytes.
On the Stream’s detail page, click Custom Data.
All existing custom data displays in a JSON
You can add new fields to the custom-data object displayed in the dialog, or edit existing fields. You can also remove fields entirely.
To delete a nested JSON object in the custom data, you need to delete its child elements first.
Use the Lightstep Public API
You can add custom data to a Stream by POSTing or PATCHing the Streams’s object in the Public API. If set, Custom Data will also be included with Stream objects returned by the Lightstep public API.