mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-15 17:51:15 +00:00
removed gauge vector for sub processes
This commit is contained in:
parent
70408d24e9
commit
82303510cf
1 changed files with 3 additions and 1 deletions
|
@ -180,7 +180,9 @@ func (p process) spawnWorker() {
|
||||||
// processName := processNameGet(p.subject.name(), p.processKind)
|
// processName := processNameGet(p.subject.name(), p.processKind)
|
||||||
|
|
||||||
// Add prometheus metrics for the process.
|
// Add prometheus metrics for the process.
|
||||||
|
if !p.isSubProcess {
|
||||||
p.metrics.promProcessesAllRunning.With(prometheus.Labels{"processName": string(p.processName)})
|
p.metrics.promProcessesAllRunning.With(prometheus.Labels{"processName": string(p.processName)})
|
||||||
|
}
|
||||||
|
|
||||||
// Start a publisher worker, which will start a go routine (process)
|
// Start a publisher worker, which will start a go routine (process)
|
||||||
// That will take care of all the messages for the subject it owns.
|
// That will take care of all the messages for the subject it owns.
|
||||||
|
|
Loading…
Reference in a new issue