| 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 | ||
| README.md | ||
| buf.lock | ||
| buf.yaml | ||
| custom.go | ||
| remote.pb.go | ||
| remote.proto | ||
| types.pb.go | ||
| types.proto | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	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.