mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Instrumentation: Add support for instrumenting database queries (#66022)
Signed-off-by: bergquist <carl.bergquist@gmail.com> Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
This commit is contained in:
@@ -591,10 +591,6 @@ func (i *searchIndex) withCtxData(ctx context.Context, params ...interface{}) []
|
||||
params = append(params, "traceID", traceID)
|
||||
}
|
||||
|
||||
if i.features.IsEnabled(featuremgmt.FlagDatabaseMetrics) {
|
||||
params = append(params, "db_call_count", log.TotalDBCallCount(ctx))
|
||||
}
|
||||
|
||||
return params
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user