Skip to content

Commit dca9242

Browse files
expose Loki
1 parent be97be8 commit dca9242

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/observability-app/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h1>Observability</h1>
126126
<rect x="2" y="10" width="20" height="3" fill="#F5A800"/>
127127
<rect x="2" y="16" width="20" height="3" fill="#F5A800"/>
128128
</svg>
129-
<a href="/grafana/explore?orgId=1&left=%7B%22datasource%22:%22loki%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bapp%3D%5C%22items-service%5C%22%7D%22%7D%5D,%22range%22:%7B%22from%22:%22now-1h%22,%22to%22:%22now%22%7D%7D" target="_blank">Loki</a> - Log aggregation
129+
<a href="/grafana/explore?orgId=1&panes=%7B%220gu%22:%7B%22datasource%22:%22P8E80F9AEF21F6940%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bapp%3D%5C%22items-service%5C%22%7D%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22P8E80F9AEF21F6940%22%7D%7D%5D,%22range%22:%7B%22from%22:%22now-1h%22,%22to%22:%22now%22%7D%7D%7D&schemaVersion=1" target="_blank">Loki</a> - Log aggregation
130130
</p>
131131

132132
<p><strong>Kubernetes Dashboard:</strong></p>

infra/k8s/local/grafana-local.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ spec:
134134
- containerPort: 3000
135135
name: http
136136
env:
137-
# Anonymous access - read-only for public viewing
137+
# Anonymous access - Editor role allows Explore page access
138138
- name: GF_AUTH_ANONYMOUS_ENABLED
139139
value: "true"
140140
- name: GF_AUTH_ANONYMOUS_ORG_ROLE
141-
value: "Viewer"
141+
value: "Editor"
142142
# Keep login form enabled for admin access
143143
- name: GF_AUTH_DISABLE_LOGIN_FORM
144144
value: "false"

infra/k8s/observability/grafana-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ spec:
7070
value: "https://app.roussev.com/grafana"
7171
- name: GF_SERVER_SERVE_FROM_SUB_PATH
7272
value: "true"
73-
# Anonymous access - read-only for public viewing
73+
# Anonymous access - Editor role allows Explore page access
7474
- name: GF_AUTH_ANONYMOUS_ENABLED
7575
value: "true"
7676
- name: GF_AUTH_ANONYMOUS_ORG_ROLE
77-
value: "Viewer"
77+
value: "Editor"
7878
# Keep login form enabled for admin access
7979
- name: GF_AUTH_DISABLE_LOGIN_FORM
8080
value: "false"

0 commit comments

Comments
 (0)