code: func RecordDataKeyGeneration(start time.Time, err error) {
  	if err != nil {
  		dataKeyGenerationFailuresTotal.Inc()
  		return
  	}
  
  	dataKeyGenerationLatencies.Observe(sinceInSeconds(start))
  	deprecatedDataKeyGenerationLatencies.Observe(sinceInMicroseconds(start))
  }
docs: // RecordDataKeyGeneration records latencies and count of Data Encryption Key generation operations.