Skip to content

Support for multiple instrumentation keys#1938

Merged
trask merged 2 commits into
mainfrom
multi-ikey
Oct 29, 2021
Merged

Support for multiple instrumentation keys#1938
trask merged 2 commits into
mainfrom
multi-ikey

Conversation

@trask

@trask trask commented Oct 28, 2021

Copy link
Copy Markdown
Member

attaching SNAPSHOT for testing: applicationinsights-agent-3.2.3-BETA-SNAPSHOT.jar.zip

here's example how to configure:

{
  "preview": {
    "instrumentationKeyOverrides": [
      {
        "httpPathPrefix": "/myapp1",
        "instrumentationKey": "12345678-0000-0000-0000-0FEEDDADBEEF"
      },
      {
        "httpPathPrefix": "/myapp2",
        "instrumentationKey": "87654321-0000-0000-0000-0FEEDDADBEEF"
      }
    ]
  }
}

@trask trask merged commit e476171 into main Oct 29, 2021
@trask trask deleted the multi-ikey branch October 29, 2021 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants