"loggerId" for diagnosticInfomation.json has regressed (from the toolkit)

Open
#341 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
53/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
azure, typescript
Domain
cli, cloud

Research direction

Start by tracing how the CLI v1.0.5 generates diagnosticInfomation.json and extracts the diagnostic's loggerId; compare that value with the toolkit output /loggers/appinsights-shared. Check whether the CLI is intended to emit the environment-specific resource ID or the non-specific logger path. Done means the expected behavior is clear and the issue's regression question is resolved.

Written by the indexing model from the issue text.

Description

type:question
Question

"loggerId" for diagnosticInfomation.json has regressed (from the toolkit).

Where the toolkit extracts this non-specific environment value:

"loggerId": "/loggers/appinsights-shared"

The CLI v1.0.5 extracts this environment-specific value:

"loggerId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/rg-ourservices-dev-001/providers/Microsoft.ApiManagement/service/apim001/loggers/appinsights-shared"

Does this mean we're expected to re-introduce an override in our environment files?

Context

No response

Dominant language
TypeScript
Stars
44
Forks
14
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/apiops-cli

All issues in Azure/apiops-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.