Anomify API Documentation

/anomalies

/anomalies

/anomaly

/anomaly/lookup
/anomaly/train
/anomaly/{anomaly_id}

/image

/image/anomaly
/image/metric

/js

/js/eventsender

/login

/login
/login/forgotpassword
/login/resetpassword
/login/validateclient

/match

/match/{match_id}
/match/{match_id}/graph
/match/{match_id}/motif/graph

/metric

/metric/{metric_name}
/metric/{metric_name}/anomalies
/metric/{metric_name}/anomalysummary
/metric/{metric_name}/bundle
/metric/{metric_name}/graph
/metric/{metric_name}/patterns
/metric/{metric_name}/timeseries
/metric/{metric_name}/yhat

/metrics

/metrics
/metrics/mostanomalous
/metrics/mostrecentlyanomalous
/metrics/mostrecentlymatched

/misc

/misc/phonecodes
/misc/timesince
/misc/timezones

/org

/org/adminalert/{alert_code}
/org/adminalerts
/org/channels
/org/graph
/org/info
/org/summary
/org/update
/org/users

/pattern

/pattern/{pattern_id}
/pattern/{pattern_id}/disable
/pattern/{pattern_id}/matches
/pattern/{pattern_id}/timeseries

/patterns

/patterns/pending

/ping

/ping

/signup

/signup/demo
/signup/demo-orgs
/signup/selfserve
/signup/verify

/status

/status

/user

/user/info
/user/logout
/user/ping
/user/reportissue
/user/update
/user/updatepassword

/watcher

/watcher/create
/watcher/{watcher_id}/delete
/watcher/{watcher_id}/undelete
/watcher/{watcher_id}/update

/watchers

/watchers/chips
/watchers/list

Method: /watchers/chips

Detail

This method is not available to demo user accounts.

Returns a list of chips which can be used to filter metrics and create watchers.

When 50 or fewer metrics match the search, these metric names are returned in full on the response in addition to the chips.

Parameters

Key Required Example Description
chips no cpu,idle A comma-separated list of chips to match against. When this is passed the method filters to only those metrics which contain the supplied chips, and also removes those chips from the results
max_metric_list_length no 100 The maximum number of metrics which match the search for which including those metrics in the results is not considered too many, i.e "only if there are X or fewer matching metrics, include those metrics in the results". Default 50, max 1000

Example Output

{
    "status": { ... see /login method for status block structure ... },
    "data": {
        "count_chips": 6,
        "matching_metrics": 4,
        "returned_metrics": 4,
        "chips": [
            {
                "text": "clouddb-services",
                "count": 4
            },
            {
                "text": "graphite-labs_wikimedia_org",
                "count": 4
            },
            {
                "text": "clouddb1001",
                "count": 1
            },
            {
                "text": "clouddb1002",
                "count": 1
            },
            {
                "text": "clouddb1003",
                "count": 1
            },
            {
                "text": "clouddb1004",
                "count": 1
            }
        ],
        "metrics": [
            "graphite-labs_wikimedia_org.clouddb-services.clouddb1001.memory.MemFree",
            "graphite-labs_wikimedia_org.clouddb-services.clouddb1002.memory.MemFree",
            "graphite-labs_wikimedia_org.clouddb-services.clouddb1003.memory.MemFree",
            "graphite-labs_wikimedia_org.clouddb-services.clouddb1004.memory.MemFree"
        ]
    }
}

Live Request

URL: /watchers/chips

You need to be logged in to your Anomify account to to make live API requests.

Please log in here or sign up to Anomify

Email
Password

Live request results will appear here.