/** Public telemetry names, including retained TypeScript compatibility constants. */ export declare const WellKnownTelemetryNames: { readonly scope: 'Cratis.Chronicle.Client'; /** * @deprecated Use scope. This historical scope is no longer emitted; the constant remains available. * The minor-release naming cutoff replaces the earlier "next major" plan after ADR 0001's one-minor overlap. * See https://github.com/Cratis/Chronicle.TypeScript/issues/171. Compatibility APIs have no removal deadline. */ readonly legacyScope: '@cratis/chronicle'; readonly attributes: { readonly correlationId: 'cratis.correlation_id'; readonly eventStore: 'cratis.event_store.name'; readonly namespace: 'cratis.event_store.namespace'; readonly eventSequenceId: 'cratis.event_sequence.id'; readonly sequenceNumber: 'cratis.event_sequence.number'; readonly eventTypeId: 'cratis.event_type.id'; readonly eventTypeGeneration: 'cratis.event_type.generation'; readonly eventSourceType: 'cratis.event_source.type'; readonly eventSourceId: 'cratis.event_source.id'; readonly eventCount: 'cratis.event.count'; readonly hasEvents: 'cratis.chronicle.event_sequence.has_events'; readonly eventStreamType: 'cratis.chronicle.event_stream.type'; readonly eventStreamId: 'cratis.chronicle.event_stream.id'; readonly errorType: 'error.type'; readonly exceptionType: 'exception.type'; }; /** * @deprecated Use attributes. These constants remain available without a removal deadline. * Built-in instrumentation no longer emits these names, except the exact-string sequenceNumber attribute. * This minor-release cutoff replaces the earlier "next major" plan after ADR 0001's one-minor overlap. * See https://github.com/Cratis/Chronicle.TypeScript/issues/171. */ readonly legacyAttributes: { readonly eventStore: 'chronicle.event_store'; readonly namespace: 'chronicle.namespace'; readonly eventSequenceId: 'chronicle.event_sequence_id'; readonly sequenceNumber: 'chronicle.sequence_number'; readonly eventTypeId: 'chronicle.event_type_id'; readonly eventTypeGeneration: 'chronicle.event_type_generation'; readonly eventSourceId: 'chronicle.event_source_id'; readonly eventCount: 'chronicle.events_count'; readonly hasEvents: 'chronicle.has_events'; readonly eventStreamType: 'chronicle.event_stream_type'; readonly eventStreamId: 'chronicle.event_stream_id'; }; /** * @deprecated Use conventionSpans. These legacy constants remain available without a removal deadline. * Built-in spans now use conventionSpans. This minor-release cutoff replaces the earlier "next major" * plan after ADR 0001's one-minor overlap. See https://github.com/Cratis/Chronicle.TypeScript/issues/171. */ readonly spans: { readonly append: 'chronicle.event_sequences.append'; readonly appendMany: 'chronicle.event_sequences.append_many'; readonly getTailSequenceNumber: 'chronicle.event_sequences.get_tail_sequence_number'; readonly hasEventsFor: 'chronicle.event_sequences.has_events_for'; readonly getForEventSourceIdAndEventTypes: 'chronicle.event_sequences.get_for_event_source_id_and_event_types'; readonly getFromSequenceNumber: 'chronicle.event_sequences.get_from_sequence_number'; readonly redact: 'chronicle.event_sequences.redact'; readonly redactForEventSource: 'chronicle.event_sequences.redact_for_event_source'; readonly completeStream: 'chronicle.event_sequences.complete_stream'; readonly getEventStore: 'chronicle.client.get_event_store'; readonly getEventStores: 'chronicle.client.get_event_stores'; readonly getNamespaces: 'chronicle.event_store.get_namespaces'; }; /** Canonical names used by built-in client spans. */ readonly conventionSpans: { readonly append: 'cratis.chronicle.client.event_sequence.append'; readonly appendMany: 'cratis.chronicle.client.event_sequence.append_many'; readonly getTailSequenceNumber: 'cratis.chronicle.client.event_sequence.get_tail_sequence_number'; readonly hasEventsFor: 'cratis.chronicle.client.event_sequence.has_events_for'; readonly getForEventSourceIdAndEventTypes: 'cratis.chronicle.client.event_sequence.get_for_event_source_id_and_event_types'; readonly getFromSequenceNumber: 'cratis.chronicle.client.event_sequence.get_from_sequence_number'; readonly redact: 'cratis.chronicle.client.event_sequence.redact'; readonly redactForEventSource: 'cratis.chronicle.client.event_sequence.redact_for_event_source'; readonly completeStream: 'cratis.chronicle.client.event_sequence.complete_stream'; readonly getEventStore: 'cratis.chronicle.client.event_store.get'; readonly getEventStores: 'cratis.chronicle.client.event_store.list'; readonly getNamespaces: 'cratis.chronicle.client.event_store.get_namespaces'; }; readonly metrics: { readonly eventsAppended: 'cratis.chronicle.event_sequence.appended'; readonly batchAppendsPerformed: 'cratis.chronicle.event_sequence.batch_appends'; readonly eventStoreRetrievals: 'cratis.chronicle.event_store.retrievals'; readonly appendDuration: 'cratis.chronicle.event_sequence.append_duration'; readonly appendManyDuration: 'cratis.chronicle.event_sequence.append_many_duration'; readonly constraintViolations: 'cratis.chronicle.event_sequence.constraint_violations'; readonly appendErrors: 'cratis.chronicle.event_sequence.append_errors'; }; /** * @deprecated Use metrics (duration units are seconds). These constants remain available without a removal deadline. * Built-in instrumentation now uses canonical metrics; ChronicleMetrics retains compatibility recording. * This minor-release cutoff replaces the earlier "next major" plan after ADR 0001's one-minor overlap. * See https://github.com/Cratis/Chronicle.TypeScript/issues/171. */ readonly legacyMetrics: { readonly eventsAppended: 'chronicle.events.appended'; readonly batchAppendsPerformed: 'chronicle.events.batch_appends'; readonly eventStoreRetrievals: 'chronicle.client.event_store_retrievals'; readonly appendDuration: 'chronicle.events.append_duration'; readonly appendManyDuration: 'chronicle.events.append_many_duration'; readonly constraintViolations: 'chronicle.events.constraint_violations'; readonly appendErrors: 'chronicle.events.append_errors'; }; }; //# sourceMappingURL=WellKnownTelemetryNames.d.ts.map