SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
import { TelemetryFieldKey } from 'types/api/v5/queryRange';
export interface ColorByOption {
field: TelemetryFieldKey;
label: string;
}
export const COLOR_BY_OPTIONS: ColorByOption[] = [
{
field: {
name: 'service.name',
fieldContext: 'resource',
fieldDataType: 'string',
},
label: 'service.name',
},
{
field: {
name: 'service.namespace',
fieldContext: 'resource',
fieldDataType: 'string',
},
label: 'service.namespace',
},
{
field: {
name: 'host.name',
fieldContext: 'resource',
fieldDataType: 'string',
},
label: 'host.name',
},
{
field: {
name: 'k8s.node.name',
fieldContext: 'resource',
fieldDataType: 'string',
},
label: 'k8s.node.name',
},
{
field: {
name: 'k8s.container.name',
fieldContext: 'resource',
fieldDataType: 'string',
},
label: 'k8s.container.name',
},
];
export const COLOR_BY_FIELDS: TelemetryFieldKey[] = COLOR_BY_OPTIONS.map(
(o) => o.field,
);
export const DEFAULT_COLOR_BY_FIELD = COLOR_BY_FIELDS[0];
export enum TraceDetailsTab {
Overview = 'overview',
Thread = 'thread',
}
export const LLM_OBSERVABILITY_DOCS_URL =
'https://signoz.io/docs/ai-observability/';