Timestream Reporter Factory
class TimestreamReporterFactory(val appConfig: TribeApplicationConfig, val timestreamWriteClient: TimestreamWriteClient) : BaseReporterFactory
BaseReporterFactory that creates a TimestreamReporter based on the dropwizard configuration.
Use includes and excludes to control which attributes get reported to AWS Timestream.
Constructors
Link copied to clipboard
fun TimestreamReporterFactory(appConfig: TribeApplicationConfig, timestreamWriteClient: TimestreamWriteClient)
Functions
Properties
Link copied to clipboard
Sets dimension values (name=value formatted strings) on all metrics. Will automatically include application=TribeApplicationConfig.appName, env=TribeApplicationConfig.env, and hostname=${InetAddress.getLocalHost().hostname} as dimensions.
Link copied to clipboard