I have added a new 'details' node to the OpsGenieAlert, which will send the following properties to OpsGenie;
Host.InstanceName
Host.BaseUri
App.Title
App.Id
evt.Id
Event URL (if it can be calculated)
evt.TimeStampUtc
evt.EventType
notification (the GUID for the Seq OpsGenie notification)
I have also enhanced the logging of OpsGenie results. This will capture the HttpResponseMessage and the OpsGenie Json result (deserialized to an OpsGenieResponse class).
This will improve traceability of events sent to OpsGenie, both by having the Seq properties in OpsGenie, and by logging the results to Seq as structured properties.
I've tested with our OpsGenie instance and it works very well! 😊
Hi @nblumhardt ,
This PR could viably supersede and close #9.
I have added a new 'details' node to the OpsGenieAlert, which will send the following properties to OpsGenie;
I have also enhanced the logging of OpsGenie results. This will capture the HttpResponseMessage and the OpsGenie Json result (deserialized to an OpsGenieResponse class).
This will improve traceability of events sent to OpsGenie, both by having the Seq properties in OpsGenie, and by logging the results to Seq as structured properties.
I've tested with our OpsGenie instance and it works very well! 😊
Cheers,
Matt