Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.
Open
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
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ type slaveState struct {
}

type slaveStateExecutor struct {
Source string
Tasks []*slaveStateTask
}

Expand Down Expand Up @@ -373,7 +374,7 @@ func (e *periodicExporter) fetch(urlChan <-chan string, metricsChan chan<- prome
for _, fw := range state.Frameworks {
for _, ex := range fw.Executors {
for _, t := range ex.Tasks {
taskInfo[t.ID] = exporterTaskInfo{fw.Name, t.Name}
taskInfo[ex.Source] = exporterTaskInfo{fw.Name, t.Name}
}
}
}
Expand Down