Skip to content

Commit

Permalink
Fix 'mixtool lint' in commonlib/logslib (#1366)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhuravlev authored Dec 9, 2024
1 parent 767befa commit 8788838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common-lib/common/variables/variables.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local utils = import '../utils.libsonnet';
enableLokiLogs=false,
customAllValue='.+',
prometheusDatasourceName=if enableLokiLogs then 'prometheus_datasource' else 'datasource',
prometheusDatasourceLabel=if enableLokiLogs then 'Prometheus datasource' else 'Data source',
prometheusDatasourceLabel=if enableLokiLogs then 'Prometheus data source' else 'Data source',
): {
local varMetricTemplate(varMetric, chainSelector) =
// check if chainSelector is not empty string (case when filtering selector is empty):
Expand Down
2 changes: 1 addition & 1 deletion logs-lib/logs/targets.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function(
sum by (%s) (count_over_time({%s}
|~ "$regex_search"
%s
[$__interval]))
[$__auto]))
||| % [
logsVolumeGroupBy,
variables.queriesSelector,
Expand Down

0 comments on commit 8788838

Please sign in to comment.