client_golang/api/remotewrite/buf.gen.yaml

27 lines
722 B
YAML

# buf.gen.yaml
version: v2
plugins:
- remote: buf.build/protocolbuffers/go:v1.31.0
out: .
opt:
- Mio/prometheus/write/v2/types.proto=genproto/v2
- Mtypes.proto=genproto/v1
- Mremote.proto=genproto/v1
# vtproto for efficiency utilities like pooling etc.
# https://buf.build/community/planetscale-vtprotobuf?version=v0.6.0
- remote: buf.build/community/planetscale-vtprotobuf:v0.6.0
out: .
opt:
- Mio/prometheus/write/v2/types.proto=genproto/v2
- Mtypes.proto=genproto/v1
- Mremote.proto=genproto/v1
- features=marshal+unmarshal+size+clone
inputs:
- module: buf.build/prometheus/prometheus:5b212ab78fb7460e831cf7ff2d83e385
types:
- "io.prometheus.write.v2.Request"
- "prometheus.WriteRequest"