Raxol.Core.Metrics.Cloud (Raxol v0.5.0)
View SourceCloud integration for the Raxol metrics system.
This module handles:
- Sending metrics to cloud services
- Metric aggregation for cloud transmission
- Cloud service configuration
- Metric batching and compression
Summary
Functions
Returns a specification to start this module under a supervisor.
Configures the cloud metrics service.
Manually triggers a metrics flush to the cloud service.
Gets the current cloud configuration.
Starts the cloud metrics service.
Types
@type cloud_config() :: %{ service: cloud_service(), endpoint: String.t(), api_key: String.t(), batch_size: pos_integer(), flush_interval: pos_integer(), compression: boolean() }
@type cloud_service() :: :datadog | :prometheus | :cloudwatch
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Configures the cloud metrics service.
Manually triggers a metrics flush to the cloud service.
Gets the current cloud configuration.
Starts the cloud metrics service.