Class LambdaMetricsRecord
The LambdaMetricsRecord class defines a structured Lambda log entry for metrics that is compatible with embedded CloudWatch metrics format.
Namespace: LambdaSharp.Logging.Metrics.Models
Assembly: LambdaSharp.Logging.dll
Syntax
public class LambdaMetricsRecord : ALambdaLogRecord
Constructors
LambdaMetricsRecord()
Create a new LambdaMetricsRecord instance.
Declaration
public LambdaMetricsRecord()
Properties
Aws
Embedded CloudWatch metrics metadata object.
Declaration
[JsonPropertyName("_aws")]
public EmbeddedCloudWatchMetrics Aws { get; set; }
Property Value
Type | Description |
---|---|
EmbeddedCloudWatchMetrics |
TargetMembers
Dictionary for holding metric target members that are added at the root of the object serialization.
Declaration
[JsonExtensionData]
public Dictionary<string, object> TargetMembers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> |