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 7
    • Merge requests 7
  • 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
  • !48

Use TelemetryClient to log dependencies to App Insights dependencies table

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kelly Domico requested to merge dependency-logger into master Nov 18, 2020
  • Overview 4
  • Commits 3
  • Pipelines 8
  • Changes 5

Updated the "logDependency" method in CoreLogger to use TelemetryClient to log to Application Insights "dependencies" table. This will allow tracking of dependencies separate from traces. The old version use SLF4J to log to the "traces" table with INFO level.

Additionally added target and type to DependencyPayload so those values can also be tracked in Application Insights. The MDC context values are also included in "customDimensions" so the correlation ID and data partition ID can be tracked.

Edited Nov 20, 2020 by Kelly Domico
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dependency-logger