Skip to content

Commit

Permalink
fix: correct jobsdb table count stat (#3808)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidddddarth committed Aug 30, 2023
1 parent 3dff32d commit ebc918e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobsdb/jobsdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ func (jd *Handle) workersAndAuxSetup() {

jd.logger.Infof("Connected to %s DB", jd.tablePrefix)
jd.statPreDropTableCount = stats.Default.NewTaggedStat("jobsdb.pre_drop_tables_count", stats.GaugeType, stats.Tags{"customVal": jd.tablePrefix})
jd.statTableCount = stats.Default.NewStat(fmt.Sprintf("jobsdb.%s_tables_count", jd.tablePrefix), stats.GaugeType)
jd.statTableCount = stats.Default.NewTaggedStat("jobsdb.tables_count", stats.GaugeType, stats.Tags{"customVal": jd.tablePrefix})
jd.statNewDSPeriod = stats.Default.NewTaggedStat("jobsdb.new_ds_period", stats.TimerType, stats.Tags{"customVal": jd.tablePrefix})
jd.statDropDSPeriod = stats.Default.NewTaggedStat("jobsdb.drop_ds_period", stats.TimerType, stats.Tags{"customVal": jd.tablePrefix})
}
Expand Down

0 comments on commit ebc918e

Please sign in to comment.