Skip to main content

cmind/ragmanager/v1/rag_deployment_observability_service.proto

Package: cmind.ragmanager.v1

Enums

MetricsStep

ValueNumberDescription
METRICS_STEP_UNSPECIFIED0
METRICS_STEP_1M1
METRICS_STEP_5M2
METRICS_STEP_15M3
METRICS_STEP_30M4
METRICS_STEP_1H5
METRICS_STEP_2H6
METRICS_STEP_6H7
METRICS_STEP_12H8
METRICS_STEP_1D9

Messages

GetRagDeploymentMetricsRequest

GetRagDeploymentMetricsRequest identifies the rag deployment by id (== the deployment's StackID). Authorization keys on id; tenant_id is carried for parity with the rest of the rag surface. start_time / end_time are unix seconds (0 == service-chosen default window), matching GetModelDeploymentMetricsRequest.

FieldTypeNumberDescription
idstring1
tenantIdstring2
startTimeuint323
endTimeuint324
stepMetricsStep5

GetRagDeploymentMetricsResponse

FieldTypeNumberDescription
timeRangeMetricsTimeRange1
metricsRagDeploymentMetrics2

MetricsTimeRange

FieldTypeNumberDescription
startuint321
enduint322
stepMetricsStep3

MetricPoint

FieldTypeNumberDescription
timestampuint321
valuedouble2

RagDeploymentMetrics

RagDeploymentMetrics parallels ModelDeploymentMetrics. total_tokens is prompt + completion only (embedding / rerank are surfaced separately), matching the legacy /timeseries contract this ports.

FieldTypeNumberDescription
totalRequestsrepeated MetricPoint1
total4xxErrorsrepeated MetricPoint2
total5xxErrorsrepeated MetricPoint3
p50Latencyrepeated MetricPoint4
p90Latencyrepeated MetricPoint5
p99Latencyrepeated MetricPoint6
totalPromptTokensrepeated MetricPoint7
totalCompletionTokensrepeated MetricPoint8
totalEmbeddingTokensrepeated MetricPoint9
totalTokensrepeated MetricPoint10
totalRerankTokensrepeated MetricPoint11

Services

RagDeploymentObservabilityService

RagDeploymentObservabilityService serves the rag-deployment counterpart of ModelDeploymentObservabilityService. It mirrors that service's metric shape (request volume / errors / latency percentiles + token series) but sources the data by rag deployment id instead of model deployment name and is tenant-scoped via the per-deployment can_read gate rather than the platform-wide can_manage_models one.

GetRagDeploymentMetrics

GET /cmind.ragmanager.v1.RagDeploymentObservabilityService/GetRagDeploymentMetrics

Request: GetRagDeploymentMetricsRequest

Response: GetRagDeploymentMetricsResponse