Cloud Watch Reporter Factory
class CloudWatchReporterFactory(val appConfig: TribeApplicationConfig, val cloudwatch: CloudWatchAsyncClient) : BaseReporterFactory
BaseReporterFactory that creates a CloudWatchReporter based on the dropwizard configuration.
Use includes and excludes to control which attributes get reported to CloudWatch.
Constructors
Functions
Properties
Link copied to clipboard
Sets dimension values (name=value formatted strings) on all metrics. Will automatically include Application=TribeApplicationConfig.appName and Hostname=${InetAddress.getLocalHost().hostname} as dimensions.
Link copied to clipboard
Link copied to clipboard
Sets the cloudwatch namespace, defaults to the TribeApplicationConfig.env if unspecified
Link copied to clipboard
Link copied to clipboard