mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	build(deps): bump opentelemetry crates to 0.27 (#6774)
This commit is contained in:
		| @ -30,9 +30,8 @@ pub mod consts { | ||||
| /// Metrics for interactions with external systems. | ||||
| #[cfg(feature = "aws_kms")] | ||||
| pub mod metrics { | ||||
|     use router_env::{counter_metric, global_meter, histogram_metric, metrics_context}; | ||||
|     use router_env::{counter_metric, global_meter, histogram_metric_f64}; | ||||
|  | ||||
|     metrics_context!(CONTEXT); | ||||
|     global_meter!(GLOBAL_METER, "EXTERNAL_SERVICES"); | ||||
|  | ||||
|     #[cfg(feature = "aws_kms")] | ||||
| @ -41,7 +40,7 @@ pub mod metrics { | ||||
|     counter_metric!(AWS_KMS_ENCRYPTION_FAILURES, GLOBAL_METER); // No. of AWS KMS Encryption failures | ||||
|  | ||||
|     #[cfg(feature = "aws_kms")] | ||||
|     histogram_metric!(AWS_KMS_DECRYPT_TIME, GLOBAL_METER); // Histogram for AWS KMS decryption time (in sec) | ||||
|     histogram_metric_f64!(AWS_KMS_DECRYPT_TIME, GLOBAL_METER); // Histogram for AWS KMS decryption time (in sec) | ||||
|     #[cfg(feature = "aws_kms")] | ||||
|     histogram_metric!(AWS_KMS_ENCRYPT_TIME, GLOBAL_METER); // Histogram for AWS KMS encryption time (in sec) | ||||
|     histogram_metric_f64!(AWS_KMS_ENCRYPT_TIME, GLOBAL_METER); // Histogram for AWS KMS encryption time (in sec) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sanchith Hegde
					Sanchith Hegde