Experimental
@aws-cdk/aws-applicationsignals-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
MetricsExporting Class
OpenTelemetry metrics exporter configurations.
Contains constants for configuring metrics export behavior.
| Stability | Experimental |
|---|---|
| Source | lib/enablement/constants.ts |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as applicationsignals_alpha from '@aws-cdk/aws-applicationsignals-alpha';
const metricsExporting = new applicationsignals_alpha.MetricsExporting();
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_applicationsignals_alpha as applicationsignals_alpha
metrics_exporting = applicationsignals_alpha.MetricsExporting()
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationsignals.alpha.*;
MetricsExporting metricsExporting = new MetricsExporting();
csharp
// Install: dotnet add package Amazon.CDK.AWS.ApplicationSignals.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationSignals.Alpha;
var metricsExporting = new MetricsExporting();
go
// Install: go get github.com/aws/aws-cdk-go/awscdkapplicationsignalsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import applicationsignals_alpha "github.com/aws/aws-cdk-go/awscdkapplicationsignalsalpha"
metricsExporting := applicationsignals_alpha.NewMetricsExporting()
Initializer
ts
new MetricsExporting()
python
MetricsExporting()
java
new MetricsExporting()
csharp
new MetricsExporting()
go
NewMetricsExporting()
Properties
OTEL_METRICS_EXPORTERstringOTEL_METRICS_EXPORTERstrOTEL_METRICS_EXPORTERStringOTEL_METRICS_EXPORTERstringOTEL_METRICS_EXPORTER*string static #Configuration for OpenTelemetry metrics exporter.
OTEL_METRICS_EXPORTER_NONEstringOTEL_METRICS_EXPORTER_NONEstrOTEL_METRICS_EXPORTER_NONEStringOTEL_METRICS_EXPORTER_NONEstringOTEL_METRICS_EXPORTER_NONE*string static #Disable metrics export.
OTEL_METRICS_EXPORTER_OTLPstringOTEL_METRICS_EXPORTER_OTLPstrOTEL_METRICS_EXPORTER_OTLPStringOTEL_METRICS_EXPORTER_OTLPstringOTEL_METRICS_EXPORTER_OTLP*string static #Enable OTLP metrics export.