Azure / Azure/azure-linux-extensions
LAD 3.0 - Application Insights Sink
- Dominant language
- Python
- Stars
- 333
- Forks
- 278
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
Hello
I've been trying to configure LAD 3.0 extension to send it's diagnostic data to an application insights sink.
I've been reading the topic [Issue 219](https://github.com/Azure/azure-linux-extensions/issues/219#issuecomment-238396871) where apparently LAD 3.0 was released and fixed the deficiency. Yet, when configuring the public/ private settings, the data goes into the storage table, but not Application Insights.
```
{
"StorageAccount": "$storageAcccountName",
"ladCfg": {
"diagnosticMonitorConfiguration": {
"eventVolume": "Medium",
"metrics": {
"metricAggregation": [
{
"scheduledTransferPeriod": "PT1H"
},
{
"scheduledTransferPeriod": "PT1M"
}
],
"resourceId": "$VMID"
},
"performanceCounters": {
"performanceCounterConfiguration": [
{
"annotation": [
{
"displayName": "Disk read guest OS",
"locale": "en-us"
}
],
"class": "disk",
"condition": "IsAggregate=TRUE",
"counter": "readbytespersecond",
"counterSpecifier": "/builtin/disk/readbytespersecond",
"type": "builtin",
"unit": "BytesPerSecond"
},
{
"annotation": [
{
"displayName": "Disk writes",
"locale": "en-us"
}
],
"class": "disk",
"condition": "IsAggregate=TRUE",
"counter": "writespersecond",
"counterSpecifier": "/builtin/disk/writespersecond",
"type": "builtin",
"unit": "CountPerSecond"
}
]
},
"syslogEvents": {
"syslogEventConfiguration": {
"LOG_AUTH": "LOG_DEBUG",
"LOG_AUTHPRIV": "LOG_DEBUG",
"LOG_CRON": "LOG_DEBUG",
"LOG_DAEMON": "LOG_DEBUG",
"LOG_FTP": "LOG_DEBUG",
"LOG_KERN": "LOG_DEBUG",
"LOG_LOCAL0": "LOG_DEBUG",
"LOG_LOCAL1": "LOG_DEBUG",
"LOG_LOCAL2": "LOG_DEBUG",
"LOG_LOCAL3": "LOG_DEBUG",
"LOG_LOCAL4": "LOG_DEBUG",
"LOG_LOCAL5": "LOG_DEBUG",
"LOG_LOCAL6": "LOG_DEBUG",
"LOG_LOCAL7": "LOG_DEBUG",
"LOG_LPR": "LOG_DEBUG",
"LOG_MAIL": "LOG_DEBUG",
"LOG_NEWS": "LOG_DEBUG",
"LOG_SYSLOG": "LOG_DEBUG",
"LOG_USER": "LOG_DEBUG",
"LOG_UUCP": "LOG_DEBUG"
}
}
},
"sampleRateInSeconds": 15
}
}
```
`
```
{
"storageAccountName": "$storageAcccountName",
"storageAccountSasToken": "$storageAccountSASToken",
"sinksConfig": {
"sink": [
{
"ApplicationInsights": "$appInsightKey",
}
]
}
}
```
And just to add, I'm using Powershell/ CLI to deploy (hence the variables). There are no errors during deployment, and it provisions "successfully". But no data is being sent to app insights.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named. Start by reproducing the LAD 3.0 deployment with the supplied public and private settings, then trace the extension's sink configuration and telemetry path; done means diagnostic data reaches Application Insights as well as the storage table without deployment errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- cloud, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100