Metrics class
Metric class to track performance metrics.
public static class Metrics
Public Members
| name | description |
|---|---|
| static CreateCounter(…) | Create a counter. |
| static EnableAPIMetrics(…) | Enable API metrics. |
| static EnableMetrics(…) | Enable metrics. |
| static IncrementCounter(…) | Increment the counter. If the counter does not exist, it is auto-created with the given increment as its initial value. |
| static RecordTiming(…) | Records a pre-measured timing without requiring a prior StartTracking call. Useful when timing is captured externally (e.g. via Stopwatch in a layer that doesn't depend on the Metrics assembly). |
| static StartTracking(…) | Start tracking the time. |
| static StopTracking(…) | Stop tracking the time. |
See Also
- namespace Autodesk.DataExchange.Insights