send_metric
Transmit OpenTelemetry metrics to OTLP endpoints for monitoring and observability. Define metric instruments with name, kind, unit, and data points to track system performance.
Instructions
Send one or more metric instruments.
Each metric dict accepts: name, kind (counter/up_down_counter/gauge/
histogram), unit, description, points (list of
{value, attributes}). For histograms, value may be a list of samples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_name | Yes | ||
| metrics | Yes | ||
| resource_attributes | No | ||
| endpoints | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||