Unleash

Unleash

  • Documentation
  • Deploy and manage
  • Integrations
  • Contribute
  • API
  • Enterprise
  • Help

›Client

Client

  • /api/client/features
  • /api/client/register
  • /api/client/metrics

Admin

  • /api/admin/features
  • /api/admin/strategies
  • /api/admin/metrics
  • /api/admin/events
  • /api/admin/state
  • /api/admin/feature-types
  • /api/admin/addons

Internal

  • /internal-backstage/prometheus
  • /health

Specification

  • Open API Specification

/api/client/metrics

Send metrics

POST: http://unleash.host.com/api/client/metrics

Register a metrics payload with a timed bucket.

{
  "appName": "appName",
  "instanceId": "instanceId",
  "bucket": {
    "start": "2016-11-03T07:16:43.572Z",
    "stop": "2016-11-03T07:16:53.572Z",
    "toggles": {
      "toggle-name-1": {
        "yes": 123,
        "no": 321
      },
      "toggle-name-2": {
        "yes": 111,
        "no": 0
      }
    }
  }
}
← /api/client/register/api/admin/features →
Unleash
Docs
Getting StartedSecuring UnleashAPI Reference
Community
User ShowcaseSlack communityUnleash-hosted.comTwitter
More
GitHubStar