Fixup
This commit is contained in:
parent
d19a259f52
commit
2fa57996bc
|
@ -1,11 +0,0 @@
|
||||||
datasources:
|
|
||||||
- name: Loki
|
|
||||||
type: loki
|
|
||||||
access: proxy # Access mode: 'proxy' (default) or 'direct'
|
|
||||||
url: http://loki_loki
|
|
||||||
jsonData:
|
|
||||||
maxLines: 1000 # Maximum number of lines returned per query
|
|
||||||
# basicAuth:
|
|
||||||
# username: myuser
|
|
||||||
# password: mypassword
|
|
||||||
default_home_dashboard = Loki
|
|
|
@ -1,17 +0,0 @@
|
||||||
{
|
|
||||||
"title": "Loki",
|
|
||||||
"panels": [
|
|
||||||
{
|
|
||||||
"title": "Error Rate",
|
|
||||||
"type": "graph",
|
|
||||||
"datasource": "Loki",
|
|
||||||
"targets": [
|
|
||||||
{
|
|
||||||
"expr": 'sum(rate({job="my-app", level="error"}[1m])) by (level)',
|
|
||||||
"legendFormat": "{{level}}",
|
|
||||||
"refId": "A"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
providers:
|
||||||
|
- name: 'default'
|
||||||
|
orgId: 1
|
||||||
|
folder: ''
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
editable: true
|
||||||
|
options:
|
||||||
|
path: /var/lib/grafana/dashboards/default
|
|
@ -4,4 +4,6 @@ datasources:
|
||||||
- name: Loki
|
- name: Loki
|
||||||
type: loki
|
type: loki
|
||||||
access: proxy
|
access: proxy
|
||||||
url: http://loki_loki:3100
|
url: http://loki_loki:3100
|
||||||
|
jsonData:
|
||||||
|
maxLines: 1000
|
|
@ -0,0 +1,5 @@
|
||||||
|
[server]
|
||||||
|
domain = grafana.nixc.us
|
||||||
|
|
||||||
|
[auth.anonymous]
|
||||||
|
enabled = false
|
|
@ -2,19 +2,8 @@ version: "3.7"
|
||||||
services:
|
services:
|
||||||
loki:
|
loki:
|
||||||
image: git.nixc.us/nixius/loki:production-loki
|
image: git.nixc.us/nixius/loki:production-loki
|
||||||
environment:
|
|
||||||
- PUID=1000 # UID to run the application as
|
|
||||||
- PGID=1000 # GID to run the application as
|
|
||||||
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
|
|
||||||
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
|
|
||||||
- RTC_CONFIG=false # Set to the path of a file that specifies the STUN/TURN servers.
|
|
||||||
- DEBUG_MODE=false # Set to true to debug container and peer connections.
|
|
||||||
- TZ=Etc/UTC # Time Zone
|
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
# placement:
|
|
||||||
# constraints:
|
|
||||||
# - node.hostname == ingress.nixc.us
|
|
||||||
labels:
|
labels:
|
||||||
homepage.group: apps
|
homepage.group: apps
|
||||||
homepage.name: loki
|
homepage.name: loki
|
||||||
|
@ -36,19 +25,8 @@ services:
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: git.nixc.us/nixius/loki:production-grafana
|
image: git.nixc.us/nixius/loki:production-grafana
|
||||||
environment:
|
|
||||||
- PUID=1000 # UID to run the application as
|
|
||||||
- PGID=1000 # GID to run the application as
|
|
||||||
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
|
|
||||||
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
|
|
||||||
- RTC_CONFIG=false # Set to the path of a file that specifies the STUN/TURN servers.
|
|
||||||
- DEBUG_MODE=false # Set to true to debug container and peer connections.
|
|
||||||
- TZ=Etc/UTC # Time Zone
|
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
# placement:
|
|
||||||
# constraints:
|
|
||||||
# - node.hostname == ingress.nixc.us
|
|
||||||
labels:
|
labels:
|
||||||
homepage.group: apps
|
homepage.group: apps
|
||||||
homepage.name: grafana
|
homepage.name: grafana
|
||||||
|
|
Loading…
Reference in New Issue