Azure / Azure/iotedge

[metricsCollector] Upload to LogAnalyticsWorkspace no longer works

Open
#7,476 1 comment 0 reactions 1 assignee Claimed by @nyanzebra View on GitHub
Dominant language
C#
Stars
1.5k
Forks
473
Avg merge
2d 17h
Merged PRs (30d)
7

Description

Per the instructions here, https://learn.microsoft.com/en-us/azure/iot-edge/tutorial-monitor-with-workbooks, when set uploadTarget to AzureMonitor, user need to configure following environment variables

- ResourceId : Your IoT hub resource ID that you retrieved in a previous section.
- UploadTarget : AzureMonitor
- LogAnalyticsWorkspaceId : Your Log Analytics workspace ID that you retrieved in a previous section.
- LogAnalyticsSharedKey : Your Log Analytics key that you retrieved in a previous section.

But with latest Log Analytics Workspace, seems the approach to use agent and shared key to authenticate is no longer been supported, there is no way to get the "Primary key".

This brokes metricsCollector and all monitor workbooks features.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.