We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 110e4a4 commit 68a926fCopy full SHA for 68a926f
1 file changed
modules/enableit/common/manifests/monitor/prometheus/server.pp
@@ -41,10 +41,8 @@
41
$scrape_port = Integer($listen_address.split(':')[1])
42
$scrape_host = $trusted['certname']
43
$_extra_options = "--web.listen-address=${listen_address} --enable-feature=agent --storage.agent.path=/opt/obmondo/prometheus"
44
- $_prometheus_url = $::obmondo['customer_id'] ? { # lint:ignore:top_scope_facts
45
- undef => "https://${common::monitor::prometheus::server}/api/v1/write",
46
- default => "https://${common::monitor::prometheus::server}/${::obmondo['customer_id']}/api/v1/write" # lint:ignore:top_scope_facts
47
- }
+
+ $_prometheus_url = "https://${common::monitor::prometheus::server}/api/v1/write",
48
49
class { 'prometheus::server':
50
version => $version,
0 commit comments