Self-service metric publication in a computer network
AssigneeAmazon Technologies, Inc.
InventorArchak Sainanee
Life of this patent
Estimating the term…
Abstract
Techniques for self-service publication of metrics are described. A provider network includes metrics publications services. Aspects of the metrics publication services allow customers to generate customer-defined metrics from customer-defined queries of data sets. Such data sets may contain data related to software and/or hardware performance. Other aspects of the metrics publication services allow customers to make data sets available to metrics publications services, to identify available data sets, and to identify available metrics.
Claims20
A computer-implemented method comprising:
- receiving, at a metrics publication service of a service provider network, one or more messages indicating a request to create a publication of a metric value associated with one or computer systems within the service provider network, the request indicating a query provided by a user specifying how to obtain data, a formula indicating how to generate the metric value based at least in part on a result of the query, a destination identifier that identifies a destination where the metric value is to be sent, and a publication schedule indicating when the metric value is to be published;
- generating a publication definition in a first data store, the publication definition identifying a publication identifier, the query, the destination identifier, and the publication schedule;
- sending, by a scheduling process to a publishing process, a first message according to the publication schedule, the first message including the publication identifier;
- retrieving the query and the destination identifier from the first data store based on the publication identifier;
- sending a request to perform the query on a second data store having performance data from a first computer system;
- receiving a response to the query from the second data store;
- generating, by the publishing process, the metric value based at least in part on the response and the formula;
- and
- sending, by the publishing process, a second message to the destination, the second message including the metric value.
A computer-implemented method comprising:
- receiving, at a metrics publication service of a service provider network, one or more messages indicating a request to create a publication of a metric value associated with one or computer systems within the service provider network, the request indicating a query provided by a user specifying how to obtain data, a formula indicating how to generate the metric value based at least in part on a result of the query, a destination identifier that identifies a destination where the metric value is to be sent, and a schedule indicating when the metric value is to be published;
- sending, by a scheduling process of the metrics publication service to a publishing process of the metrics publication service based on the schedule, a first message to initiate the publication of the metric value, the first message including a publication identifier;
- obtaining, by the publishing process based on the publication identifier, the query and the formula;
- sending, by the publishing process, a first request to perform the query;
- receiving, by the publishing process, a response to the first request;
- generating the metric value based on the formula and the response;
- and
- sending the metric value to the destination.
A system comprising:
- a first one or more electronic devices to implement a scheduler service, the scheduler service including instructions that upon execution cause the scheduler service to:
- send a first message including an identifier of an entry in a data store based on a schedule indicating when a metric value is to be published;
- and
- a second one or more electronic devices to implement a publisher service, the publisher service including instructions that upon execution cause the publisher service to:
- receive the first message including the identifier of the entry;
- retrieve, from the data store based on the identifier, a query and a formula and a destination identifier that identifies a destination, wherein the query was provided by a user and specifies how to obtain data, the formula indicates how to generate the metric value based at least in part on a result of the query, and the destination is where the metric value is to be sent;
- send a first request to perform at least a part of the query on a data set associated with the destination identifier;
- receive a response to the first request;
- generate the metric value based on the response to the first request and the formula;
- and
- send a second message to the destination, the second message including the metric value.
Dependencies are inferred from the claim text.