opentelemetry-demo
opentelemetry-demo copied to clipboard
Demo environment generates errors by default
Bug Report
Which version of the demo you are using? 1.10.0
Symptom
If you start the demo environment from scratch, errors are reported for the adservice
.
What is the expected behavior?
Either:
- The demo environment doesn't generate errors by default - currently how the documentation reads: https://opentelemetry.io/docs/demo/#scenarios
- The demo environment does generate errors by default but these errors are documented and thus expected.
What is the actual behavior?
The adservice generates errors by default yet the documentation seems to indicate you must enable scenarios to generate errors and other problems.
Reproduce
Provide the minimum required steps to result in the issue you're observing.
We will close this issue if:
- The steps you provided are complex.
- If we can not reproduce the behavior you're reporting.
Additional Context
Logs messages for adservice
will show: ad-service | 2024-06-23 15:11:51 - oteldemo.AdService - GetAds Failed with status Status{code=UNAVAILABLE, description=null, cause=null} trace_id=d963f87608e1ab611dee31ef9ac29860 span_id=84ce83545d6852bb trace_flags=01
src/flagd/demo.flagd.json
shows:
"adServiceFailure": {
"description": "Fail ad service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off",
"targeting": {
"fractional": [
["on", 10],
["off", 90]
]
}
},
The problem is off
which should be set to 100
by default