

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# RemoteWrite
<a name="AMP-APIReference-RemoteWrite"></a>

`RemoteWrite` 작업은 Prometheus 서버의 지표를 원격 URL에 표준화된 형식으로 기록합니다. 일반적으로 Prometheus 서버와 같은 기존 클라이언트를 사용하여 이 작업을 호출합니다.

유효한 HTTP 동사:  
`POST`

유효한 URI:  
`/workspaces/{{workspaceId}}/api/v1/remote_write`

URL 쿼리 파라미터:  
없음

`RemoteWrite`의 수집 속도는 초당 70,000개 샘플이고 수집 버스트 크기는 1,000,000개 샘플입니다.

**샘플 요청**

```
POST /workspaces/ws-b226cc2a-a446-46a9-933a-ac50479a5568/api/v1/remote_write --data-binary "@real-dataset.sz" HTTP/1.1
Authorization: AUTHPARAMS
X-Amz-Date: 20201201T193725Z
User-Agent: Prometheus/2.20.1
Content-Type: application/x-protobuf
Content-Encoding: snappy
X-Prometheus-Remote-Write-Version: 0.1.0

{{body}}
```

**참고**  
요청 본문 구문은 [ https://github.com/prometheus/prometheus/blob/1c624c58ca934f618be737b4995e22051f5724c1/prompb/remote.pb.go\#L64](https://github.com/prometheus/prometheus/blob/1c624c58ca934f618be737b4995e22051f5724c1/prompb/remote.pb.go#L64)에서 프로토콜 버퍼 정의를 참조하세요.

**샘플 응답**

```
HTTP/1.1 200 OK
x-amzn-RequestId: 12345678-abcd-4442-b8c5-262b45e9b535
Content-Length:0
Connection: keep-alive
Date: Tue, 01 Dec 2020 19:37:25 GMT
Content-Type: application/json
Server: amazon
vary: Origin
```