Skip to content

Commit f96042d

Browse files
committed
AIMS: otel scraping
1 parent c547700 commit f96042d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/user/ai_model_serving.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,19 @@ ovms_requests_success{api="KServe",interface="REST",method="ModelReady",name="ov
442442
ovms_requests_success{api="KServe",interface="REST",method="ModelMetadata",name="ovms-resnet50",version="1"} 1
443443
```
444444
445+
##### Scraping model server's metrics with microshift-observability (OTEL)
446+
447+
In order to scrape model server's metrics with microshift-observability:
448+
1. Your OTEL configuration needs to include prometheus receiver (see [opentelemetry-collector-large.yaml](/packaging/observability/opentelemetry-collector-large.yaml) preset of example)
449+
1. Your InferenceService CR needs to include following annotation which will be passed-through to the Pod:
450+
```yaml
451+
apiVersion: serving.kserve.io/v1beta1
452+
kind: InferenceService
453+
metadata:
454+
annotations:
455+
prometheus.io/scrape: "true"
456+
```
457+
445458
#### Other Inference Protocol endpoints
446459
447460
To learn more about kserve endpoints see upstream documentation:

0 commit comments

Comments
 (0)