Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: otel integration for backend services (#584)
* ✨ Add Opentelemetry Auto-Instrumentation to Backend Services (#553) * Ignore .logs used for development * Add basic otel collector config * add docker compose file for otel-collector * Add packages needed for serilog to include span ids with logs and update System.Text.Encoding.Web to mitigate CVE-2021-26701 * Add code to get otel endpoint from an environment variable because config from appsettings is not available at this stage. Add code for Serilog to use otel * Add Packages serilog to attach spans to log messages for otel, and to mitigate CVE-2021-24112 in System.Drawing.Common * Add code to get otel endpoint from an environment variable because config from appsettings is not available at this stage. Add code for Serilog to use otel * Add code for featbit-das to support otel * A utility powershell script to set otel environment variables on windows * Add otel components to dockerfiles * WIP: add prometheus, seq, and jaeger to otel compose * WIP: Add env config and addtional collector config * WIP: add prometheus, jaeger and seq * configure for local development * Update OTEL_VERION To 1.1.0 in backend api and evaluation api Dockerfiles * Set SSOEnabled to true in docker dev compose * Remove unnecessary reference to Serilog.Sinks.Console * Fix Duplicate Traces and cleanup * Remove MessageTemplateMD5HashAttribute * clean * chore * fix * remove unused import * code clean * add ENABLE_OPENTELEMETRY environment variable * add docker-compose-otel.yml --------- Co-authored-by: rbrennan <[email protected]>
- Loading branch information