Metrics
Overview
Note
Balto's Metrics are different than dbt's concept of Metrics used in the Semantic Layer.
Metrics provide a built-in mechanism for observing both how your data changes and how you're data pipelines are running. Metrics let you push custom metrics directly to your monitoring stack from Snowflake when executing your Balto projects.
Pushing Metrics
The Balto Orchestrator provides a built-in UDF that allows you to push custom metrics to Datadog. Combine metrics and tiggers to monitor your data in near real time.
Configuration
Before you can start pushing metrics you must create an external access integration for the Datadog api and configure a Datadog api/app key.
First create an api and app key through the Datadog UI. Once you have your API and application key, run the following commands:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
You should now be able to use the built-in balto.dbt.metric_handler
procedure when defining your triggers.
Limitations
Balto currently only supports Datadog as a metric endpoint.