function MetricConfigResponse::getFingerprint
Optional. The fingerprint associated with this MetricConfigResponse. Each change in configs yields a different fingerprint. The resource SHOULD copy this value to MetricConfigRequest.last_known_fingerprint for the next configuration request. If there are no changes between fingerprint and MetricConfigRequest.last_known_fingerprint, then all other fields besides fingerprint in the response are optional, or the same as the last update if present. The exact mechanics of generating the fingerprint is up to the implementation. However, a fingerprint must be deterministically determined by the configurations -- the same configuration will generate the same fingerprint on any instance of an implementation. Hence using a timestamp is unacceptable, but a deterministic hash is fine.
Generated from protobuf field <code>bytes fingerprint = 1;</code>
Return value
string
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ Experimental/ MetricConfigResponse.php, line 105
Class
- MetricConfigResponse
- Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse</code>
Namespace
Opentelemetry\Proto\Metrics\ExperimentalCode
public function getFingerprint() {
return $this->fingerprint;
}