-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[flagd-ui] Spans with error #2677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
… span error problem.
|
|
|
@jack5341 thx for that! I still see an error when accessing the This error happens every time I open |
Not really, and today I was able to run your branch fine. |
you have any idea what can cause this problem? |
|
To help other users see that issue, make sure the project is always initiated with |
… otelcol-config.yml to set span status code for HTTP 101
…entelemetry-demo into fix/spans-with-error
|
Hey @julianocosta89, I’ve fixed it. The issue was caused by the protocol switch during WebSocket connections. HTTP 101 responses were being treated as errors, which is actually expected behavior for WebSockets. The simple and reliable fix was to add a filter to the otel-collector processor to set http.status_code 101 entries to UNSET. |
|
update |
|
hey @jack5341 now I'm not sure if we should fix this on the demo or if we should open an issue on the instrumentation repo. WDYT?! |
|
I’d suggest fixing this in the instrumentation repo as well as here, since we don’t know when it will be released and when it might affect this repository. |
|
In that case we should do the following:
|
1- Is this repository the correct one for Elixir? |
yes
Yes, same as we have done here: https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/otel-collector/otelcol-config.yml#L150
Good question. I wonder if other instrumentations set the span status to error. I can take a further look next week on that. |


[flagd-ui] Spans with error
Changes
Switch flagd-ui navbar links from plain anchors to LiveView navigation (.link navigate) to avoid full page reloads and websocket teardown when switching between Basic and Advanced.
Fix LiveSocket URL construction under the /feature base path so the websocket connects to /feature/live (was /featurelive), preventing spurious disconnects.
Merge Requirements
For new features contributions, please make sure you have completed the following
essential items:
CHANGELOG.mdupdated to document new feature additionsMaintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.