Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metrics/group_processes.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (p *ProcessesMetricGroup) getTags(processName string, process *models.Proce
tags["zone"] = "unknown"
// Try to tag the name with the human readable name (as published by the operator) instead of the key in the json
if process.Locality != nil {
tags["fdb_pod_name"] = process.Locality.ProcessId
tags["fdb_pod_name"] = process.Locality.Process_Id
tags["zone"] = process.Locality.ZoneId
}
}
Expand Down
1 change: 1 addition & 0 deletions models/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type ProcessLocality struct {
InstanceId string `json:"instance_id"`
MachineId string `json:"machineid"`
ProcessId string `json:"processid"`
Process_Id string `json:"process_id"`
ZoneId string `json:"zoneid"`
}

Expand Down