@resolve-js/monitoring-aws-cloudwatch
v0.34.3
Published
This package serves as a monitoring adapter used to store monitoring data in AWS CloudWatch
Downloads
103
Maintainers
Readme
@resolve-js/monitoring-aws-cloudwatch
This package serves as a monitoring adapter for reSolve that publishes metrics to AWS CloudWatch.
Available Options
You can specify the following options to configure the monitoring adapter:
deploymentId
- Specifies the cloud deployment ID.resolveVersion
- Specifies the reSolve version.
Usage
// config.prod.js
import resolveVersion from '$resolve.resolveVersion'
const prodConfig = {
monitoringAdapters: {
default: {
module: '@resolve-js/monitoring-aws-cloudwatch',
options: {
deploymentId: declareRuntimeEnv('RESOLVE_DEPLOYMENT_ID'),
resolveVersion,
},
},
},
...
}