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

      • name: string

        The name of the distribution metric.

      • value: number

        The value to record in the distribution.

      • Optionaloptions: MetricOptions

        Options for capturing the metric.

      Returns void

      Sentry.metrics.distribution('task.duration', 500, {
      unit: 'millisecond',
      attributes: {
      task: 'data-processing',
      priority: 'high'
      }
      });
      Sentry.metrics.distribution('batch.size', 100, {
      attributes: {
      processor: 'batch-1',
      type: 'async'
      }
      });