mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
a5abd92541
In proto3, this doesn't change anything. However, since the `CreatedTimestamp` field is generated as a pointer (`*types.Timestamp`), we are still able to detect the unset state. (This is in contrast to the `timestamp_ms` field, which is a plain int64, for which we cannot enforce generation as a pointer, see comment updated in the previous commit for future actions.) Signed-off-by: beorn7 <beorn@grafana.com> |
||
---|---|---|
.. | ||
io/prometheus/client | ||
buf.lock | ||
buf.yaml | ||
custom.go | ||
README.md | ||
remote.pb.go | ||
remote.proto | ||
types.pb.go | ||
types.proto |
The compiled protobufs are version controlled and you won't normally need to re-compile them when building Prometheus.
If however you have modified the defs and do need to re-compile, run
make proto
from the parent dir.
In order for the script to run, you'll need protoc
(version 3.15.8) in
your PATH.