Skip to content

Commit

Permalink
feat: add pyroscope to LGTM stack (#124)
Browse files Browse the repository at this point in the history
* feat: add pyroscope to LGTM stack

* fix: temp config removed autocomplete_filtering_enabled

* fix: set securityContext.runAsUser > 10000

* feat: add traces to profiles to temp config
  • Loading branch information
saidsef authored Nov 10, 2024
1 parent 78d9f96 commit 6cabb75
Show file tree
Hide file tree
Showing 10 changed files with 971 additions and 3 deletions.
2 changes: 2 additions & 0 deletions deployment/grafana/cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ data:
datasourceUid: Loki
tracesToLogsV2:
datasourceUid: Loki
tracesToProfiles:
datasourceUid: Pyroscope
tracesToMetrics:
datasourceUid: Prometheus
serviceMap:
Expand Down
2 changes: 1 addition & 1 deletion deployment/mimir/statefulset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- '-store-gateway.sharding-ring.replication-factor=1'
- '-ingester.out-of-order-time-window=5m'
- '-blocks-storage.bucket-store.ignore-blocks-within=0s'
image: grafana/mimir:2.14.0
image: grafana/mimir:2.14.1
imagePullPolicy: IfNotPresent
name: mimir
ports:
Expand Down
2 changes: 1 addition & 1 deletion deployment/prometheus/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
runAsNonRoot: true
containers:
- name: prometheus
image: docker.io/prom/prometheus:v2.55.0
image: docker.io/prom/prometheus:v2.55.1
imagePullPolicy: IfNotPresent
args:
- '--storage.tsdb.retention.time=15d'
Expand Down
8 changes: 8 additions & 0 deletions deployment/pyroscope/account.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: pyroscope
labels:
app.kubernetes.io/name: pyroscope
annotations: {}
Loading

0 comments on commit 6cabb75

Please sign in to comment.