File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ type MonitoringData struct {
1919 PipelineUrlHash string `json:"PipelineUrlHash,omitempty"`
2020 BuildUrlHash string `json:"BuildUrlHash,omitempty"`
2121 Orchestrator string `json:"Orchestrator,omitempty"`
22+ PiperCommitHash string `json:"PiperCommitHash,omitempty"`
2223 StageName string `json:"StageName,omitempty"`
2324 StepName string `json:"StepName,omitempty"`
2425 ExitCode string `json:"ExitCode,omitempty"`
@@ -38,7 +39,6 @@ type LogFileEvent struct {
3839 Source string `json:"source"` // optional description of the source of the event; typically the app's name
3940 SourceType string `json:"sourcetype"` // optional name of a Splunk parsing configuration; this is usually inferred by Splunk
4041 Index string `json:"index"` // optional name of the Splunk index to store the event in; not required if the token has a default index set in Splunk
41-
4242}
4343
4444type DetailsTelemetry struct {
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ func (s *Splunk) prepareTelemetry(telemetryData telemetry.Data) MonitoringData {
115115 PipelineUrlHash : telemetryData .PipelineURLHash ,
116116 BuildUrlHash : telemetryData .BuildURLHash ,
117117 Orchestrator : telemetryData .Orchestrator ,
118+ PiperCommitHash : telemetryData .PiperCommitHash ,
118119 StageName : telemetryData .StageName ,
119120 StepName : telemetryData .BaseData .StepName ,
120121 ExitCode : telemetryData .CustomData .ErrorCode ,
You can’t perform that action at this time.
0 commit comments