Skip to content

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.

488 B
Raw Blame
package zeustypes

import "go.opentelemetry.io/otel/attribute"

var (
	// Identifies the organization.
	OrganizationID = attribute.Key("signoz.organization.id")

	// Identifies the retention bucket a meter belongs to.
	RetentionDuration = attribute.Key("signoz.retention.duration")
)

func NewDimensions(kvs ...attribute.KeyValue) map[string]string {
	dimensions := map[string]string{}
	for _, kv := range kvs {
		dimensions[string(kv.Key)] = kv.Value.AsString()
	}

	return dimensions
}