Skip to content

Extractor not pulling sampling percentage in diagnostic setting and hence when published the tool is setting it to 0 #153

@rohit3d2003

Description

@rohit3d2003

Release version

Latest from Main Branch

Describe the bug

APIOps Extractor isn't pulling the sampling percentage for the diagnostic setting on an API. Only sampling type is extracted and hence when the same is published via Publisher, the tool is setting sampling percentage to zero

Screenshot 2022-11-16 at 6 44 46 PM
Screenshot 2022-11-16 at 6 45 07 PM

Expected behavior

Sampling percentage is extracted

Actual behavior

Sampling percentage isn't extracted

Reproduction Steps

  1. Create a API and enable diagnostics settings using Application Insight
  2. Set Sampling percentage to 50%
  3. Run Extractor and validate is sampling percentage has been successfully extracted or not

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions