Skip to content

Commit 2cd3cff

Browse files
authored
Merge pull request #6 from grafana/fix-grafana-cloud-typo
fix typo in grafana cloud module
2 parents 9211f43 + 874cdca commit 2cd3cff

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

modules/cloud/grafana/cloud/module.river

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ declare "stack" {
2020
// Setup the prometheus remote write receiver
2121
prometheus.remote_write "default" {
2222
endpoint {
23-
url = json_decode(remote.http.config_file.content)["hmInstancePromUrl"] + "/api/prom/push"
23+
url = json_decode(remote.http.config.content)["hmInstancePromUrl"] + "/api/prom/push"
2424

2525
basic_auth {
26-
username = json_decode(remote.http.config_file.content)["hmInstancePromId"]
26+
username = json_decode(remote.http.config.content)["hmInstancePromId"]
2727
password = argument.token.value
2828
}
2929
}
@@ -32,35 +32,35 @@ declare "stack" {
3232
// Setup the loki write receiver
3333
loki.write "default" {
3434
endpoint {
35-
url = json_decode(remote.http.config_file.content)["hlInstanceUrl"] + "/loki/api/v1/push"
35+
url = json_decode(remote.http.config.content)["hlInstanceUrl"] + "/loki/api/v1/push"
3636

3737
basic_auth {
38-
username = json_decode(remote.http.config_file.content)["hlInstanceId"]
38+
username = json_decode(remote.http.config.content)["hlInstanceId"]
3939
password = argument.token.value
4040
}
4141
}
4242
}
4343

4444
// Setup the traces receiver
4545
otelcol.auth.basic "default" {
46-
username = json_decode(remote.http.config_file.content)["htInstanceId"]
46+
username = json_decode(remote.http.config.content)["htInstanceId"]
4747
password = argument.token.value
4848
}
4949

5050
otelcol.exporter.otlp "default" {
5151
client {
52-
endpoint = json_decode(remote.http.config_file.content)["htInstanceUrl"] + ":443"
52+
endpoint = json_decode(remote.http.config.content)["htInstanceUrl"] + ":443"
5353
auth = otelcol.auth.basic.default.handler
5454
}
5555
}
5656

5757
// Setup the pyroscope write receiver
5858
pyroscope.write "default" {
5959
endpoint {
60-
url = json_decode(remote.http.config_file.content)["hpInstanceUrl"]
60+
url = json_decode(remote.http.config.content)["hpInstanceUrl"]
6161

6262
basic_auth {
63-
username = json_decode(remote.http.config_file.content)["hpInstanceId"]
63+
username = json_decode(remote.http.config.content)["hpInstanceId"]
6464
password = argument.token.value
6565
}
6666
}
@@ -81,6 +81,6 @@ declare "stack" {
8181
value = pyroscope.write.default.receiver
8282
}
8383
export "info" {
84-
value = json_decode(remote.http.config_file.content)
84+
value = json_decode(remote.http.config.content)
8585
}
8686
}

0 commit comments

Comments
 (0)