# statsd-http-wrapper **Repository Path**: mirrors_miluxhd/statsd-http-wrapper ## Basic Information - **Project Name**: statsd-http-wrapper - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-09 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Usage ``` curl -XPOST --user android:123 "http://localhost/counter?metric=user_signups&platform=android" ``` ### Params The metric parameter is reserved, while all other query parameters are treated as labels for that metric. For example, a request like `/counter?metric=user_signups&platform=android` will create a time series in Prometheus with the format `user_signups{platform="android"}`. ### Metric Whitelist to increase security we've implemented a very basic validation over metrics. ``` { "metrics": { "metricname": { "labels": ["label1" , "label2"] } } } ```