prometheus: fix mistake

pull/157/head
Mike Lang 5 years ago
parent d76f38bf20
commit 6e067fab83

@ -33,13 +33,13 @@ local services = [
[ [
{ {
local hosts = hosts_by_scheme[scheme], local hosts = hosts_by_scheme[scheme],
local url = hosts[host][0],
local role = hosts[host][1],
job_name: "%s-%s" % [scheme, service], job_name: "%s-%s" % [scheme, service],
metrics_path: "/metrics/%s" % service, metrics_path: "/metrics/%s" % service,
scheme: scheme, scheme: scheme,
static_configs: [ static_configs: [
{ {
local url = hosts[host][0],
local role = hosts[host][1],
targets: [url], targets: [url],
labels: { labels: {
instance: host, instance: host,

Loading…
Cancel
Save