Show / Hide Table of Contents

Class LambdaMetricsRecord

The LambdaMetricsRecord class defines a structured Lambda log entry for metrics that is compatible with embedded CloudWatch metrics format.

Inheritance
System.Object
ALambdaLogRecord
LambdaMetricsRecord
Inherited Members
ALambdaLogRecord.Type
ALambdaLogRecord.Version
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>
In This Article
Back to top Generated by DocFX