Add metric id query parameter to measurement/statistics resource

Registered by Michael Hoppal

Add the ability to query measurements or statistics by metric id instead of by name and dimension set.

This would include adding a new query parameter "metric_ids" when getting measurements or statistics.

This query parameter would allow one or more metric ids.

Reason for adding this is to eliminate the intermediate step within the API to look up the metric id before querying measurements in Vertica in hopes of making the query more efficient.

To make this query work for influxdb we would have to change the way we store metrics within influxdb. We would have to add a new tag on each series that we could query against with this new query parameter.

The needed changes for this are changes to the Java/Python API(adding new query parameter), Python/Java Persister (changing how we persister metrics to influxdb), monasca client and grafana (be able to query measurements with the new query parameter)

Blueprint information

Status:
Not started
Approver:
Roland Hochmuth
Priority:
High
Drafter:
Michael Hoppal
Direction:
Needs approval
Assignee:
Michael Hoppal
Definition:
Approved
Series goal:
None
Implementation:
Deferred
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/metric-id-query-parameter,n,z

Addressed by: https://review.openstack.org/343946
    Add metric_id query parameter to measurements and statistics

Addressed by: https://review.openstack.org/344361
    Add definition dimension hash to influxdb metric series

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.