Skip to content

Commit

Permalink
fix: link to request view
Browse files Browse the repository at this point in the history
  • Loading branch information
adinhodovic committed Feb 15, 2024
1 parent fbe228a commit 5ed37f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dashboards/ingress-nginx-overview.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ local tbOverride = tbStandardOptions.override;
irate(
nginx_ingress_controller_requests{
job=~"$job",
namespace=~"$namespace",
controller_pod=~"$controller",
controller_class=~"$controller_class",
namespace=~"$namespace"
controller_class=~"$controller_class"
}[$__rate_interval]
)
), 0.001
Expand Down Expand Up @@ -537,7 +537,7 @@ local tbOverride = tbStandardOptions.override;
tbPanelOptions.link.withTitle('Go To Ingress') + // todo: Fix job
tbPanelOptions.link.withType('dashboard') +
tbPanelOptions.link.withUrl(
'/d/%s/ingress-nginx-overview?var-exported_namespace=${__data.fields.Namespace}&var-job=${__data.fields.Job}&var-ingress=${__data.fields.Ingress}'
'/d/%s/ingress-nginx-overview?var-exported_namespace=${__data.fields.Namespace}&var-ingress=${__data.fields.Ingress}'
% $._config.requestHandlingPerformanceDashboardUid
) +
tbPanelOptions.link.withTargetBlank(true)
Expand Down

0 comments on commit 5ed37f7

Please sign in to comment.