ProductObservability
Custom Metrics
Send the numbers that matter to your business, then graph, combine and alert on them like any other metric.
No credit card · Take the 2-minute bill tour
- ways to send a metric
- 3
- metric types
- 4
- query functions
- 50+
- metric retention
- 15 months
Overview Available
Custom Metrics are the metrics you define yourself, such as authorized payments or queue depth. Send them over the HTTP API, through StatsD on an agent, or with OpenTelemetry. They are stored next to the metrics MeerStack collects for you, with the same query language, dashboards and monitors. A clear rule based on the metric name decides which metrics are custom, and a volume view shows which ones cost the most. Meer, the AI SRE, can cite them as evidence in an investigation.
Three ways in, one store
Use the path that fits the code you already have. All three paths write to the same store, so a metric looks the same in a query whichever way it arrived.
- HTTP API: post series as JSON or protobuf, compressed with gzip, deflate or zstd
- StatsD: send counts, gauges, histograms, distributions and sets to an agent over UDP port 8125 or a Unix socket
- OpenTelemetry: OTLP over HTTP, as protobuf or JSON. Cumulative sums are converted to delta counts and metric names are stored as sent
- In Kubernetes, the MeerStack Agent adds pod, service, environment and image tags to StatsD metrics from the container that sent them
Query, combine and compare
The explorer builds a query from a metric, a scope, an aggregation and a rollup. Add more queries and join them with a formula, or write the query as text.
- Visualize as a time series, a top list or a table, with lines, bars or areas and a split by any tag
- Filter by tag, exclude with a leading exclamation mark, use wildcards, and group by any tag key
- More than 50 functions, including rate per second, difference, time shift, week before, exponentially weighted averages and top N
- Anomaly, forecast and outlier functions draw an expected range and mark the points outside it
- Counts can be read as rates and rates as counts
Know every metric you send
The summary lists every metric that reported, with its metadata and tags. Open one metric to see who sends it, how many series it has and which tag keys create them.
- Search by metric name or by tag, filter with facets, and page through the list 50 metrics at a time
- Edit the type, unit, interval, short name and description of a metric in its side panel
- See the tags of a metric, split into the tags you can query and the tags that were ingested
- A tag cardinality explorer for custom metrics shows which tag keys multiply the number of series
- A dedicated view for distribution metricsIn development
See which metrics drive the bill
Custom metrics are billed, and standard metrics never are. MeerStack shows the rule it applies and the volume behind every metric, so the bill does not surprise you.
- A metric is standard when its name starts with a known namespace, such as system, container or an integration. Every other metric is custom
- The rule depends on the name only, not on the path. A host metric is standard whether an agent or an OpenTelemetry Collector sent it
- The volume list shows estimated ingested and custom volume for each metric and the change in volume
- An overview shows metrics by source, with a switch between all, standard and custom
- Each Team host includes 100 custom metrics and each Enterprise host 200
Alert on your own numbers, with business context
A custom metric can drive a monitor in the same way as a host metric. When that monitor opens an incident on a business journey, the incident shows the owner and the dollars at risk per minute.
- Metric monitors with warning and critical thresholds, no-data handling and re-notification
- Change and percent-change monitors compare a window with the same window earlier
- Composite monitors combine several conditions into one alert
- Meer cites the metric queries behind its findings, and each citation opens in the explorer at the same time range
Product views on this page are illustrations with sample data from Meer Bank, a fictional bank. Console screenshots will replace them.
Capabilities
Everything in Custom Metrics
Four metric types
Gauge, count, rate and distribution. Distributions are stored as sketches, so percentiles are computed across hosts.
Tags on everything
Tag every point, then filter and group by any tag. Host tags are joined in at query time.
Tag configuration
For one metric, allow all tags or keep an include or exclude list of tag keys, and choose percentiles for distributions.
Metrics from logs
Generate a metric from a log query in the log configuration.
Dashboards
Use any custom metric in dashboard widgets with the same queries and formulas.
Service level objectives
Build an SLO on a custom metric.
API access
Query series, read and edit metric metadata, and list tags over HTTP with a scoped application key.
Origin rules
The table that decides standard or custom is served by the API, so you can check it.
Bulk tag configurationIn development
Configure tags for many metrics at once.
Historical metricsIn development
Accept points with old timestamps for selected metrics.
How it works
From nothing to an answer
- 1
Pick a path
Post to the HTTP API, send StatsD to an agent you already run, or point an OpenTelemetry exporter at MeerStack.
- 2
Name and tag
Choose a metric name and tags. Add a unit and a description in the summary so the next person understands the metric.
- 3
Graph and alert
Explore the metric, add it to a dashboard and create a monitor on it.
- 4
Watch the volume
Check the volume view and the cardinality explorer to find tag keys that create more series than you need.
Specifications
What is supported
- Ingestion
- HTTP API (JSON or protobuf), StatsD through an agent (UDP 8125 or Unix socket), OTLP over HTTP (protobuf or JSON)
- Compression
- gzip, deflate, zstd
- Metric types
- Gauge, count, rate, distribution (sketch)
- OpenTelemetry histograms
- Stored with .count, .sum, .min and .max series; exponential histograms are stored as a distribution
- Query
- Aggregation, tag filters and exclusions, group by, rollup, formulas, more than 50 functions
- Views
- Overview, Explorer, Summary, Volume
- Retention
- 15 months
- Included allotment
- 100 custom metrics per Team host, 200 per Enterprise host
What it does not do yet
- The dedicated view for distribution metrics is not finished.
- Bulk tag configuration and historical metrics can be opened but cannot be saved yet.
- StatsD service checks and events are accepted but are not stored yet.
- The MeerStack Agent accepts OTLP as protobuf only. OTLP as JSON works when you send straight to the MeerStack intake.
We would rather you read it here than find out in a trial. Anything marked “In development” on this page is not available today.
Pricing
Public, per unit
Billed annually or month to month, in USD. Team has no minimum spend. Enterprise agreements get volume discounts.
| What is billed | Unit | Annual | Month to month |
|---|---|---|---|
| Custom metrics beyond the allotment | per 100 custom metrics, per month | $3.50 | $3.50 |
| Infrastructure host, TeamIncludes 100 custom metrics per host | per host, per month | $10.50 | $12.60 |
| Infrastructure host, EnterpriseIncludes 200 custom metrics per host | per host, per month | $16.10 | $18.90 |
Questions
Asked before buying
How does data get in?
Over the HTTP API, through StatsD on an agent, or with OpenTelemetry over OTLP. All three write to the same store.
Do I need to change my agents or my code?
No. StatsD clients keep sending to the local agent, and the agent sends to MeerStack. OpenTelemetry exporters only need a new endpoint.
What counts as a custom metric?
A metric whose name does not start with a known standard namespace. The rule depends on the name only, and the table of namespaces is available from the API.
How is it billed?
Each host includes an allotment of custom metrics. Custom metrics above the allotment are billed per 100 custom metrics, per month.
What is retained and for how long?
Metric points and distribution sketches are kept for 15 months.
How does Meer use this data?
Meer queries metrics during an investigation and cites the exact queries as evidence. You can open each citation in the explorer.
See Custom Metrics on your own stack.
Start a free trial with no credit card, or ask an engineer to show it to you.