Flagd-UI Service
You are viewing the English version of this page because it has not yet been fully translated. Interested in helping out? See Contributing.
This service acts as a frontend where users can toggle and edit feature flags to alter the behavior of the demo environment.
Initializing Tracing
Once installed the necessary dependencies for auto-instrumentation of Phoenix endpoints and requests, we configure them according to the official documentation, editing the config/runtime.exs file:
otel_endpoint = System.get_env("OTEL_EXPORTER_OTLP_ENDPOINT") || raise """ environment variable OTEL_EXPORTER_OTLP_ENDPOINT is missing. """ config :opentelemetry, :processors, otel_batch_processor: %{ exporter: {:opentelemetry_exporter, %{endpoints: [otel_endpoint]}} } And we initialize the OpenTelemetry Bandit adapter and the Phoenix library as well inside lib/flagd_ui/application.ex:
OpentelemetryBandit.setup() OpentelemetryPhoenix.setup(adapter: :bandit) Traces
Phoenix and Bandit are auto-instrumented through the dedicated libraries.
Metrics
TBD
Logs
TBD
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!