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

      • name: string

        The name of the gauge metric.

      • value: number

        The current value of the gauge.

      • Optionaloptions: MetricOptions

        Options for capturing the metric.

      Returns void

      Sentry.metrics.gauge('memory.usage', 1024, {
      unit: 'megabyte',
      attributes: {
      process: 'web-server',
      region: 'us-east-1'
      }
      });
      Sentry.metrics.gauge('active.connections', 42, {
      attributes: {
      server: 'api-1',
      protocol: 'websocket'
      }
      });