Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(service): configure opentelemetry (#1342)
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> Configures opentelemetry for Service. Copy pasta from WebAPI. Dependent on #1341 ## Related Issue(s) - #1262 ## Verification - [ ] **Your** code builds clean without any errors or warnings - [ ] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced logging and telemetry configuration during application startup. - Introduced a modular approach to configuring telemetry settings. - **Bug Fixes** - Improved error handling during application startup to ensure exceptions are logged appropriately. - **Refactor** - Updated method signature for improved telemetry configuration handling. - Removed direct call to Application Insights, streamlining telemetry integration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information