Observability
Export Chalk metrics to other monitoring systems.
Chalk’s online dashboard provides a simple way to view metrics about performance of your feature pipelines. However, you may wish to export these metrics from Chalk into other observability tools so that you can view your Chalk-related data alongside data from other systems you maintain.
Chalk tracks various time series metrics that measure the latency and throughput of resolvers and streaming pipelines.
Chalk uses TimescaleDB and Promscale to store these metrics. Consequently, Chalk’s execution environment is instrumented with Prometheus.
You can use any Prometheus-compatible collector to collect metrics about the execution of your feature pipelines from Chalk. Examples include:
The table below summarizes the metrics that are available for export. The headers in the table are the exported metric name followed by the Prometheus metric type (gauge, histogram, summary, or counter).
resolver_latency_secondsSummary
idString
my.company.get_user
quantile0.5 | 0.75 | 0.95 | 0.99
resolver_typeonline | offline | stream
query_latency_secondsSummary
idString
eligbility_query_v2
. Queries without names are labeled "Unnamed"quantile0.5 | 0.75 | 0.95 | 0.99
feature_requestCounter
idString
user.age
statussuccess | failure
contextinference | cron | migration | streaming
resolver_requestCounter
idString
my.company.get_user
statussuccess | failure
contextinference | cron | migration | streaming
resolver_typeonline | offline | stream
query_requestCounter
idString
eligibility_query_v2
. Queries without names are labeled "Unnamed"statussuccess | failure
deploymentGauge
1
for active deployments. A gauge of this kind is sometimes called an Info
metric.idString
query_latency_secondsGauge
environmentString