Troubleshooting and Optimization

An application publishes a custom queue-depth metric every second, but the code leaves StorageResolution at its default. Developers need one-second metric resolution. What should they change?

Show the answer

Correct answerB. Set StorageResolution to 1.

AWhy not this: Timestamp precision does not select the metric's storage resolution.

BWhy this is right: StorageResolution of 1 selects high-resolution storage for the custom metric.

CWhy not this: Count describes the measurement's unit, not its storage resolution.

DWhy not this: A dashboard period changes presentation, not the resolution used when the metric was published.

Setting StorageResolution to 1 publishes a high-resolution custom metric with one-second resolution. Publishing frequently or choosing a short dashboard period does not change a standard-resolution metric into a high-resolution metric.