interface SQLServerPrometheusExporterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ApplicationInsights.CfnApplication.SQLServerPrometheusExporterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_SQLServerPrometheusExporterProperty |
Java | software.amazon.awscdk.services.applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty |
Python | aws_cdk.aws_applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty |
TypeScript | aws-cdk-lib » aws_applicationinsights » CfnApplication » SQLServerPrometheusExporterProperty |
The SQL prometheus exporter settings.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
const sQLServerPrometheusExporterProperty: applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty = {
prometheusPort: 'prometheusPort',
sqlSecretName: 'sqlSecretName',
};
Properties
| Name | Type | Description |
|---|---|---|
| prometheus | string | Prometheus exporter port. |
| sql | string | Secret name which managers SQL exporter connection. |
prometheusPort
Type:
string
Prometheus exporter port.
sqlSecretName
Type:
string
Secret name which managers SQL exporter connection.
e.g. {"data_source_name": "sqlserver://<USERNAME>:<PASSWORD>@localhost:1433"}

.NET
Go
Java
Python
TypeScript