Skip to content

Commit

Permalink
[demo] add grafana dashboards (#734)
Browse files Browse the repository at this point in the history
Adds the Spanmetrics and OpenTelemetry Collector Data Flow dashboards from the Demo repo.

Because we have multiple dashboards, and managing them in a single file is problematic, I used the (.Files.Glob "grafana-dashboards/*.json").AsConfig construct and store all the dashboard files in the respective subfolder instead.

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
  • Loading branch information
puckpuck authored Apr 6, 2023
1 parent 12936cf commit 84d9ebe
Show file tree
Hide file tree
Showing 20 changed files with 22,258 additions and 6,124 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: opentelemetry-demo
version: 0.20.2
version: 0.20.3
description: opentelemetry demo helm chart
home: https://opentelemetry.io/
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Service
metadata:
name: example-adservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: adservice
Expand All @@ -29,7 +29,7 @@ kind: Service
metadata:
name: example-cartservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: cartservice
Expand All @@ -53,7 +53,7 @@ kind: Service
metadata:
name: example-checkoutservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: checkoutservice
Expand All @@ -77,7 +77,7 @@ kind: Service
metadata:
name: example-currencyservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: currencyservice
Expand All @@ -101,7 +101,7 @@ kind: Service
metadata:
name: example-emailservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: emailservice
Expand All @@ -125,7 +125,7 @@ kind: Service
metadata:
name: example-featureflagservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: featureflagservice
Expand All @@ -152,7 +152,7 @@ kind: Service
metadata:
name: example-ffspostgres
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: ffspostgres
Expand All @@ -176,7 +176,7 @@ kind: Service
metadata:
name: example-frontend
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: frontend
Expand All @@ -200,7 +200,7 @@ kind: Service
metadata:
name: example-frontendproxy
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: frontendproxy
Expand All @@ -224,7 +224,7 @@ kind: Service
metadata:
name: example-kafka
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: kafka
Expand All @@ -251,7 +251,7 @@ kind: Service
metadata:
name: example-loadgenerator
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: loadgenerator
Expand All @@ -275,7 +275,7 @@ kind: Service
metadata:
name: example-paymentservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: paymentservice
Expand All @@ -299,7 +299,7 @@ kind: Service
metadata:
name: example-productcatalogservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: productcatalogservice
Expand All @@ -323,7 +323,7 @@ kind: Service
metadata:
name: example-quoteservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: quoteservice
Expand All @@ -347,7 +347,7 @@ kind: Service
metadata:
name: example-recommendationservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: recommendationservice
Expand All @@ -371,7 +371,7 @@ kind: Service
metadata:
name: example-redis
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: redis
Expand All @@ -395,7 +395,7 @@ kind: Service
metadata:
name: example-shippingservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: shippingservice
Expand All @@ -419,7 +419,7 @@ kind: Deployment
metadata:
name: example-accountingservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: accountingservice
Expand Down Expand Up @@ -498,7 +498,7 @@ kind: Deployment
metadata:
name: example-adservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: adservice
Expand Down Expand Up @@ -577,7 +577,7 @@ kind: Deployment
metadata:
name: example-cartservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: cartservice
Expand Down Expand Up @@ -664,7 +664,7 @@ kind: Deployment
metadata:
name: example-checkoutservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: checkoutservice
Expand Down Expand Up @@ -761,7 +761,7 @@ kind: Deployment
metadata:
name: example-currencyservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: currencyservice
Expand Down Expand Up @@ -836,7 +836,7 @@ kind: Deployment
metadata:
name: example-emailservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: emailservice
Expand Down Expand Up @@ -913,7 +913,7 @@ kind: Deployment
metadata:
name: example-featureflagservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: featureflagservice
Expand Down Expand Up @@ -1010,7 +1010,7 @@ kind: Deployment
metadata:
name: example-ffspostgres
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: ffspostgres
Expand Down Expand Up @@ -1091,7 +1091,7 @@ kind: Deployment
metadata:
name: example-frauddetectionservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: frauddetectionservice
Expand Down Expand Up @@ -1170,7 +1170,7 @@ kind: Deployment
metadata:
name: example-frontend
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: frontend
Expand Down Expand Up @@ -1265,7 +1265,7 @@ kind: Deployment
metadata:
name: example-frontendproxy
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: frontendproxy
Expand Down Expand Up @@ -1366,7 +1366,7 @@ kind: Deployment
metadata:
name: example-kafka
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: kafka
Expand Down Expand Up @@ -1449,7 +1449,7 @@ kind: Deployment
metadata:
name: example-loadgenerator
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: loadgenerator
Expand Down Expand Up @@ -1536,7 +1536,7 @@ kind: Deployment
metadata:
name: example-paymentservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: paymentservice
Expand Down Expand Up @@ -1611,7 +1611,7 @@ kind: Deployment
metadata:
name: example-productcatalogservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: productcatalogservice
Expand Down Expand Up @@ -1688,7 +1688,7 @@ kind: Deployment
metadata:
name: example-quoteservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: quoteservice
Expand Down Expand Up @@ -1769,7 +1769,7 @@ kind: Deployment
metadata:
name: example-recommendationservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: recommendationservice
Expand Down Expand Up @@ -1852,7 +1852,7 @@ kind: Deployment
metadata:
name: example-redis
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: redis
Expand Down Expand Up @@ -1927,7 +1927,7 @@ kind: Deployment
metadata:
name: example-shippingservice
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/component: shippingservice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-demo-0.20.2
helm.sh/chart: opentelemetry-demo-0.20.3
app.kubernetes.io/name: example
app.kubernetes.io/instance: example
app.kubernetes.io/version: "1.3.1"
Expand Down
Loading

0 comments on commit 84d9ebe

Please sign in to comment.