Skip to content

Commit

Permalink
updated helm chart values to include the host and port and the flagd …
Browse files Browse the repository at this point in the history
  • Loading branch information
bornav authored and 12ushan committed Jul 22, 2024
1 parent 84f05a1 commit 1b9fb58
Show file tree
Hide file tree
Showing 26 changed files with 314 additions and 223 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.30.0
version: 0.30.1
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.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-adservice
app.kubernetes.io/instance: example
Expand All @@ -30,7 +30,7 @@ kind: Service
metadata:
name: example-cartservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-cartservice
app.kubernetes.io/instance: example
Expand All @@ -55,7 +55,7 @@ kind: Service
metadata:
name: example-checkoutservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-checkoutservice
app.kubernetes.io/instance: example
Expand All @@ -80,7 +80,7 @@ kind: Service
metadata:
name: example-currencyservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-currencyservice
app.kubernetes.io/instance: example
Expand All @@ -105,7 +105,7 @@ kind: Service
metadata:
name: example-emailservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-emailservice
app.kubernetes.io/instance: example
Expand All @@ -130,7 +130,7 @@ kind: Service
metadata:
name: example-flagd
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-flagd
app.kubernetes.io/instance: example
Expand All @@ -155,7 +155,7 @@ kind: Service
metadata:
name: example-frontend
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-frontend
app.kubernetes.io/instance: example
Expand All @@ -180,7 +180,7 @@ kind: Service
metadata:
name: example-frontendproxy
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-frontendproxy
app.kubernetes.io/instance: example
Expand All @@ -205,7 +205,7 @@ kind: Service
metadata:
name: example-kafka
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-kafka
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -233,7 +233,7 @@ kind: Service
metadata:
name: example-loadgenerator
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-loadgenerator
app.kubernetes.io/instance: example
Expand All @@ -258,7 +258,7 @@ kind: Service
metadata:
name: example-paymentservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-paymentservice
app.kubernetes.io/instance: example
Expand All @@ -283,7 +283,7 @@ kind: Service
metadata:
name: example-productcatalogservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-productcatalogservice
app.kubernetes.io/instance: example
Expand All @@ -308,7 +308,7 @@ kind: Service
metadata:
name: example-quoteservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-quoteservice
app.kubernetes.io/instance: example
Expand All @@ -333,7 +333,7 @@ kind: Service
metadata:
name: example-recommendationservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-recommendationservice
app.kubernetes.io/instance: example
Expand All @@ -358,7 +358,7 @@ kind: Service
metadata:
name: example-redis
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-redis
app.kubernetes.io/instance: example
Expand All @@ -383,7 +383,7 @@ kind: Service
metadata:
name: example-shippingservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-shippingservice
app.kubernetes.io/instance: example
Expand All @@ -408,7 +408,7 @@ kind: Deployment
metadata:
name: example-accountingservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-accountingservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -473,7 +473,7 @@ kind: Deployment
metadata:
name: example-adservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-adservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -540,7 +540,7 @@ kind: Deployment
metadata:
name: example-cartservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-cartservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -617,7 +617,7 @@ kind: Deployment
metadata:
name: example-checkoutservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-checkoutservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -704,7 +704,7 @@ kind: Deployment
metadata:
name: example-currencyservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-currencyservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -767,7 +767,7 @@ kind: Deployment
metadata:
name: example-emailservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-emailservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -830,7 +830,7 @@ kind: Deployment
metadata:
name: example-flagd
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-flagd
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -897,7 +897,7 @@ kind: Deployment
metadata:
name: example-frauddetectionservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-frauddetectionservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -962,7 +962,7 @@ kind: Deployment
metadata:
name: example-frontend
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-frontend
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1049,7 +1049,7 @@ kind: Deployment
metadata:
name: example-frontendproxy
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-frontendproxy
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1134,7 +1134,7 @@ kind: Deployment
metadata:
name: example-kafka
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-kafka
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1203,7 +1203,7 @@ kind: Deployment
metadata:
name: example-loadgenerator
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-loadgenerator
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1264,6 +1264,10 @@ spec:
value: python
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_COLLECTOR_NAME):4317
- name: FLAGD_HOST
value: 'example-flagd'
- name: FLAGD_PORT
value: "8013"
- name: OTEL_RESOURCE_ATTRIBUTES
value: service.name=$(OTEL_SERVICE_NAME),service.namespace=opentelemetry-demo
resources:
Expand All @@ -1278,7 +1282,7 @@ kind: Deployment
metadata:
name: example-paymentservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-paymentservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1347,7 +1351,7 @@ kind: Deployment
metadata:
name: example-productcatalogservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-productcatalogservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1412,7 +1416,7 @@ kind: Deployment
metadata:
name: example-quoteservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-quoteservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1479,7 +1483,7 @@ kind: Deployment
metadata:
name: example-recommendationservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-recommendationservice
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1550,7 +1554,7 @@ kind: Deployment
metadata:
name: example-redis
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-redis
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -1611,7 +1615,7 @@ kind: Deployment
metadata:
name: example-shippingservice
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example-shippingservice
app.kubernetes.io/instance: example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-flagd-config
namespace: default
labels:
helm.sh/chart: opentelemetry-demo-0.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example
app.kubernetes.io/instance: example
Expand Down Expand Up @@ -97,6 +97,15 @@ data:
"off": false
},
"defaultVariant": "off"
},
"loadgeneratorFloodHomepage": {
"description": "Flood the frontend with a large amount of requests.",
"state": "ENABLED",
"variants": {
"on": 100,
"off": 0
},
"defaultVariant": "off"
}
}
}
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.30.0
helm.sh/chart: opentelemetry-demo-0.30.1

opentelemetry.io/name: example
app.kubernetes.io/instance: example
Expand Down
Loading

0 comments on commit 1b9fb58

Please sign in to comment.