You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As subject, change the metric definition in codebase, add extra labels and update the codebase, the metrics lost in the repo aggregated result, however the metric in worker's /metrics got updated accordingly as expected.
Please take a look if it's intentional behavior or a bug?
Version
1.5.8
Reproducible procedures
Create a codebase and start repo with initial code, and start a worker
var counter = new stats.Counter('test_counter', ['label_one'])
var taskPipe = pipeline($=>$
.onStart([new Data, new StreamEnd])
.handleData(
function (data) {
counter.withLabels('is_a_value').increase()
}
)
)
function metric() {
Promise.all(
[taskPipe.spawn()]
)
.then(()=>new Timeout(1).wait())
.then(metric)
}
metric()
pipy()
.listen(1881)
Issue
As subject, change the metric definition in codebase, add extra labels and update the codebase, the metrics lost in the repo aggregated result, however the metric in worker's
/metrics
got updated accordingly as expected.Please take a look if it's intentional behavior or a bug?
Version
1.5.8
Reproducible procedures
label_two
to the metric, then update codebaseThe
test_counter
will disappear in the repo's/metrics
.The text was updated successfully, but these errors were encountered: