Closed ykyuen closed 9 years ago
Sorry for the delayed response. It looks like the name is now get_metric_names
. Unsure when or why I changed this, sorry for breaking backwards compat.
def get_metric_names(self, agent_id, re=None, limit=5000):
"""
Requires: application ID
Optional: Regex to filter metric names, limit of results
Returns: A dictionary,
key => metric name,
value => list of fields available for a given metric
Method: Get
Restrictions: Rate limit to 1x per minute
Errors: 403 Invalid API Key, 422 Invalid Parameters
Endpoint: api.newrelic.com
"""
got it. thx for your reply. =D
i want to query the apdex score but the following program throws an error.
but it throws