본문으로 건너뛰기
sigiro
Esc
↑↓이동↵열기⌘J미리보기

Ingest Pyroscope profiles

Accept a Pyroscope PushRequest or raw pprof profile. With name, the payload is raw pprof and the service name is the part before the first {; without name, the payload is a PushRequest whose series require a service_name label. Binary bodies may be gzip-compressed. Multipart bodies must carry the payload in the profile field. A missing Content-Type is also accepted as a binary body. See the profile ingest guide.

POST/ingest
인증
AuthorizationBearer 토큰 (prefixed-api-key) · header필수
쿼리 매개변수
namestring

When present, the body is a raw pprof profile and the service name is the part before the first {. When absent, the body is a Pyroscope PushRequest and each series must contain a service_name label.

요청 본문
필수application/octet-stream

Pyroscope PushRequest or raw pprof bytes. For multipart/form-data, put the binary payload in the profile field.

string<binary>
응답
200

Profile accepted

400

Unsupported media type, malformed payload, missing service name, or empty profile

401

Missing or invalid bearer token

413

Request body exceeds the configured ingest limit

429

Ingest rate limit exceeded

500

Ingest failed

507

Storage cannot currently accept ingest

요청
curl -X POST '/ingest' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/octet-stream' \
  -d 'string'
응답
Profile accepted

이 페이지가 도움이 되었나요?