SentryCounterMetric constructor

SentryCounterMetric({
  1. required DateTime timestamp,
  2. required String name,
  3. required num value,
  4. required SentryId traceId,
  5. SpanId? spanId,
  6. String? unit,
  7. Map<String, SentryAttribute>? attributes,
})

Implementation

SentryCounterMetric({
  required super.timestamp,
  required super.name,
  required super.value,
  required super.traceId,
  super.spanId,
  super.unit,
  super.attributes,
}) : super(type: 'counter');