Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O OS Core Lib Azure
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • Lib
  • cloud
  • azure
  • OS Core Lib Azure
  • Merge requests
  • !61

Add to customDimensions from MDC for logged requests

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kelly Domico requested to merge requests-custom-props into master Dec 16, 2020
  • Overview 0
  • Commits 3
  • Pipelines 6
  • Changes 4

Currently, the MDC map key-value pairs are not included in logged requests. Request and exception logging is provided out-of-the-box with the App Insights and Spring Boot web JARs.

This MR adds a TelemetryInitializer for web requests that will allow adding custom dimensions for requests. It copies the MDC properties map to the Telemetry object's properties map. The properties will then show up in customDimensions in the requests table.

Edited Dec 17, 2020 by Kelly Domico
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: requests-custom-props