ApplicationInsights-node.js
ApplicationInsights-node.js copied to clipboard
Fine-grained control of sampling?
Function apps have this config for sampling applicationInsights.
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"maxTelemetryItemsPerSecond": 5,
"evaluationInterval": "01:00:00",
"initialSamplingPercentage": 10.0,
"samplingPercentageIncreaseTimeout": "00:00:01",
"samplingPercentageDecreaseTimeout": "00:00:01",
"minSamplingPercentage": 0.1,
"maxSamplingPercentage": 20.0,
"movingAverageRatio": 1.0,
"excludedTypes": "Event;Exception;Request",
"includedTypes": "Dependency;Trace"
}
}
Would it be possible to enable similar config for this SDK?
Simple use case would be to adjust sampling just for Dependency;Trace
calls and NOT apply sampling to Event;Exception;Request
Was looking for this as well. I want all my exceptions but sample everything else...
Any news on this?
still no sampling on node js?