UNPKG

mcard-js

Version:

MCard - Content-addressable storage with cryptographic hashing, handle resolution, and vector search for Node.js and browsers

62 lines 2 kB
/** * Observability resource types - Grafana LGTM Stack. */ export const OBSERVABILITY_TYPES = { grafana: { name: 'grafana', category: 'observability', uriTemplate: 'grafana://{endpoint}', hashTemplate: 'grafana:{endpoint}:{orgId}:{dashboardUid}', defaultOptions: { type: 'grafana' }, argNames: ['endpoint'] }, prometheus: { name: 'prometheus', category: 'observability', uriTemplate: 'prometheus://{endpoint}', hashTemplate: 'prometheus:{endpoint}:{jobName}', defaultOptions: { type: 'prometheus', scrapeInterval: 15 }, argNames: ['endpoint'] }, loki: { name: 'loki', category: 'observability', uriTemplate: 'loki://{endpoint}', hashTemplate: 'loki:{endpoint}:{tenantId}', defaultOptions: { type: 'loki', labels: {} }, argNames: ['endpoint'] }, tempo: { name: 'tempo', category: 'observability', uriTemplate: 'tempo://{endpoint}', hashTemplate: 'tempo:{endpoint}:{serviceName}', defaultOptions: { type: 'tempo', samplingRate: 1.0 }, argNames: ['endpoint'] }, faro: { name: 'faro', category: 'observability', uriTemplate: 'faro://{collectorUrl}', hashTemplate: 'faro:{collectorUrl}:{appName}:{environment}', defaultOptions: { type: 'faro', environment: 'production', features: ['console', 'errors', 'web_vitals', 'sessions'] }, argNames: ['collectorUrl', 'appName'] }, otlp: { name: 'otlp', category: 'observability', uriTemplate: 'otlp://{endpoint}', hashTemplate: 'otlp:{endpoint}:{protocol}:{serviceName}', defaultOptions: { type: 'otlp', protocol: 'grpc', signals: ['traces', 'metrics', 'logs'] }, argNames: ['endpoint'] } }; //# sourceMappingURL=observability.js.map