Skip to content

Commit 8788838

Browse files
authored
Fix 'mixtool lint' in commonlib/logslib (#1366)
1 parent 767befa commit 8788838

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common-lib/common/variables/variables.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local utils = import '../utils.libsonnet';
1111
enableLokiLogs=false,
1212
customAllValue='.+',
1313
prometheusDatasourceName=if enableLokiLogs then 'prometheus_datasource' else 'datasource',
14-
prometheusDatasourceLabel=if enableLokiLogs then 'Prometheus datasource' else 'Data source',
14+
prometheusDatasourceLabel=if enableLokiLogs then 'Prometheus data source' else 'Data source',
1515
): {
1616
local varMetricTemplate(varMetric, chainSelector) =
1717
// check if chainSelector is not empty string (case when filtering selector is empty):

logs-lib/logs/targets.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function(
3030
sum by (%s) (count_over_time({%s}
3131
|~ "$regex_search"
3232
%s
33-
[$__interval]))
33+
[$__auto]))
3434
||| % [
3535
logsVolumeGroupBy,
3636
variables.queriesSelector,

0 commit comments

Comments
 (0)