Takaro - v0.6.0
    Preparing search index...
    • Parameters

      • name: string

        The name of the counter metric.

      • Optionalvalue: number

        The value to increment by (defaults to 1).

      • Optionaloptions: MetricOptions

        Options for capturing the metric.

      Returns void

      Sentry.metrics.count('api.requests', 1, {
      attributes: {
      endpoint: '/api/users',
      method: 'GET',
      status: 200
      }
      });
      Sentry.metrics.count('items.processed', 5, {
      attributes: {
      processor: 'batch-processor',
      queue: 'high-priority'
      }
      });