US20230004560A1 - Systems and methods for monitoring user-defined metrics - Google Patents

Systems and methods for monitoring user-defined metrics Download PDF

Info

Publication number
US20230004560A1
US20230004560A1 US17/930,821 US202217930821A US2023004560A1 US 20230004560 A1 US20230004560 A1 US 20230004560A1 US 202217930821 A US202217930821 A US 202217930821A US 2023004560 A1 US2023004560 A1 US 2023004560A1
Authority
US
United States
Prior art keywords
query
metric
definition
data
monitoring process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
US17/930,821
Inventor
Koon Heng Ivan TEO
Qingyi Sui
Mohammad Shami
Yoonseong KIM
Fernando SAN MARTIN JORQUERA
Francisco PEREZ LEON
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Capital One Services LLC
Original Assignee
Capital One Services LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Capital One Services LLC filed Critical Capital One Services LLC
Priority to US17/930,821 priority Critical patent/US20230004560A1/en
Assigned to CAPITAL ONE SERVICES, LLC reassignment CAPITAL ONE SERVICES, LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: TEO, KOON HENG IVAN, SUI, QINGYI, KIM, Yoonseong, PEREZ LEON, FRANCISCO, SAN MARTIN JORQUERA, FERNANDO, Shami, Mohammad
Publication of US20230004560A1 publication Critical patent/US20230004560A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/217Database tuning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP

Definitions

  • Various embodiments of the present disclosure relate generally to systems and methods for monitoring metrics and, more particularly, to systems and methods for automatically scheduling and executing user-defined database queries that generate such metrics and storing query results for access by users.
  • a business or other organization may maintain or have access to data that can be analyzed.
  • a business analyst for example, may be tasked with performing analytics on such data in order to determine metrics that may be used to understand and improve the performance of a business operation.
  • Data may be analyzed with the use of database queries executed by a computer system.
  • the business may include various lines of business (LOBs) or business units that each include their own databases and/or metrics. Therefore, there is a need for systems and methods that facilitate analytics based on database queries. In particular, there is a need for systems and methods for automatically scheduling and executing database queries that generate such metrics, and for enabling multiple users to access the queries and their results.
  • LOBs lines of business
  • the present disclosure is directed to addressing one or more of these above-referenced challenges.
  • the background description provided herein is for the purpose of generally presenting the context of the disclosure. Unless otherwise indicated herein, the materials described in this section are not prior art to the claims in this application and are not admitted to be prior art, or suggestions of the prior art, by inclusion in this section.
  • systems and methods are disclosed for monitoring user-defined metrics.
  • a computer-implemented method for monitoring metrics may include: receiving, from a user device, a metric definition usable to generate queries to obtain data for a metric to be monitored; receiving, from the user device, a monitoring configuration indicative of a manner in which a metric monitoring process associated with the metric definition is to be repeatedly performed; storing the metric definition in a metric definition database; and repeatedly performing the metric monitoring process in accordance with the monitoring configuration, the metric monitoring process including: retrieving the metric definition from the metric definition database; generating a database query based on the metric definition, the database query including one or more executable database statements defined by the metric definition; executing the database query to obtain query result data, the query result data being data for the metric; and storing the query result data.
  • a computer system for monitoring metrics may include: a memory storing instructions; and one or more processors configured to execute the instructions to perform operations.
  • the operations may include: receiving a plurality of metric definitions, each of the plurality of metric definitions being usable to generate queries to obtain data for a respective metric to be monitored; storing the plurality of metric definitions in a metric definition database; and scheduling and performing a plurality of metric monitoring processes respectively associated with the plurality of metric definitions, such that each of the plurality of metric monitoring processes is periodically performed at a respective user-specified frequency, wherein each of the plurality of metric monitoring processes includes: retrieving the respective metric definition from the metric definition database; generating a database query based on the respective metric definition, the database query including one or more executable database statements defined by the respective metric definition; executing the database query to obtain query result data, the query result data being data for the respective metric; and storing the query result data.
  • a computer system for monitoring metrics may include: a memory storing instructions; and one or more processors configured to execute the instructions to perform operations.
  • the operations may include: receiving, from a user device, a metric definition usable to generate queries to obtain data for a metric to be monitored, the metric being a measure or evaluation of events described by data recorded in a data warehouse; receiving, from the user device, a monitoring configuration indicative of a manner in which a metric monitoring process associated with the metric definition is to be repeatedly performed; storing the metric definition in a metric definition database; and repeatedly performing the metric monitoring process in accordance with the monitoring configuration, the metric monitoring process including: retrieving the metric definition from the metric definition database; generating a database query based on the metric definition, the database query including one or more executable database statements defined by the metric definition; executing the database query to obtain query result data, the query result data being data for the metric and being based on the data recorded in the data warehouse; and storing the
  • FIG. 1 depicts an exemplary system infrastructure for monitoring user-defined metrics, according to one or more embodiments.
  • FIG. 2 depicts a flowchart of a method for monitoring user-defined metrics, according to one or more embodiments.
  • FIG. 3 depicts an example of a user interface that displays various events for use by the system of FIG. 1 .
  • FIG. 4 illustrates an example system that may execute techniques presented herein.
  • the term “based on” means “based at least in part on.”
  • the singular forms “a,” “an,” and “the” include plural referents unless the context dictates otherwise.
  • the term “exemplary” is used in the sense of “example” rather than “ideal.”
  • the terms “comprises,” “comprising,” “includes,” “including,” or other variations thereof, are intended to cover a non-exclusive inclusion such that a process, method, or product that comprises a list of elements does not necessarily include only those elements, but may include other elements not expressly listed or inherent to such a process, method, article, or apparatus.
  • Relative terms, such as, “substantially” and “generally,” are used to indicate a possible variation of ⁇ 10% of a stated or understood value.
  • Embodiments of the present disclosure may provide for an attribution engine that includes a system for monitoring business metrics designed around flexibility and ease of use by analysts. For example, a user may define a new monitoring metric through structured query language (SQL) commands submitted to the attribution engine. Upon submission, the entire scheduling and reporting pipeline may be automatically set up and users may retrieve historical reports on the defined metrics on-demand.
  • SQL structured query language
  • Embodiments of the present disclosure may also provide for a system architecture for the attribution engine.
  • the system architecture may include three major components, including, for example, configuration, scheduling, and a data warehouse.
  • Users may submit metric definitions (e.g., SQL commands to be run on the data warehouse) to the configuration component.
  • the configuration component may store the definitions and may pass the definitions to the scheduling component.
  • the scheduling component may submit the SQL commands to the data warehouse on a regular basis with user-defined frequencies and may store the results of the commands in the data warehouse itself. Copies of the results may also be routed to a separate database and/or cloud storage for diagnostic purposes.
  • the configuration component may consist of a REST API layer that receives user-input metric definitions (e.g., as SQL commands). For example, a user may submit the metric definitions to the configuration component via a user interface.
  • the user interface may abstract away any operation beyond the metric definition, and may also expose (e.g., display) previously submitted metric definitions. Thus, users may use previously submitted metric definitions as needed, rather than submit entirely new metric definitions.
  • Submitted metric definitions may be stored in a relational database.
  • the scheduling component may pick up the SQL queries from the relational database and may send the queries to the data warehouse.
  • the scheduling component may run on an Apache Airflow platform.
  • the operations within the SQL queries may be processed in the data warehouse and the outcomes may be appended to a table of results within the data warehouse itself.
  • users may access the results via the table of results displayed on the user interface.
  • Programmatic consumption by applications may also be possible through copies of the results sent to cloud storage and/or a results database.
  • FIG. 1 illustrates a system 100 for monitoring user-defined metrics.
  • the system 100 may include a user device 110 operated by a user 105 , and a server system 120 .
  • User device 110 and server system 120 may communicate through communication network 150 , which may be one or a combination of public networks (e.g., the Internet), local networks, and/or other networks.
  • public networks e.g., the Internet
  • local networks e.g., the Internet
  • User 105 may be any person or plurality of persons who operate user device 110 to utilize metrics monitoring functionalities provided by server system 120 .
  • the role of user 105 may depend on the usage context of system 100 .
  • server system 120 is operated by an organization, such as a company, corporation, or other organization, user 105 may represent an analyst that utilizes server system 120 for monitoring metrics that are relevant to that organization.
  • a “metric” may be a measure or evaluation of some aspect (e.g., activities and/or events) of interest.
  • a metric may be, for example, a performance indicator that measures the performance of, for example, a process, a business operation, or a business or organization as a whole.
  • a metric may be a business metric that characterizes business-related event(s), such as customer-related activity.
  • a business metric may indicate a quantity, value (e.g., monetary value), and/or statistical characteristic of a certain type of customer activity, such as a number of weekly signups for a new product over a certain period of time.
  • a business metric may also be referred to as a business performance indicator.
  • a “metric” may be a parameter whose value(s) are determined by data analysis. Such data analysis may be performed using database queries as described in this disclosure. For example, a metric may be a number of new customers per week for a certain line of business, and the values of such metric (e.g., 1500 new customers in week 1, and 1600 new customers in week 2) may be determined by database queries. The values of a metric may be associated with a certain time or time periods (e.g., week 1, week 2, etc.).
  • User device 110 may be any suitable computer system, such as a laptop or desktop computer or a mobile computing device such as a smartphone, tablet, or wearable computable device.
  • User device 110 may display a user interface (UI) 115 enabling user 105 to access metrics monitoring functionalities provided by server system 120 .
  • UI user interface
  • user interface 115 may be a graphical user interface of a webpage or web application wherein the webpage or web application may be executed in a web browser application of user device 110 .
  • the user interface 115 may be part of a native application executed, or otherwise presented, on user device 110 . While a single user 105 and a single user device 110 are shown in FIG. 1 , it is understood that system 110 may include a plurality of such user devices, including other user devices 111 , each operated by a respective user.
  • Server system 120 may monitor metrics based on configurations received from user devices, such as user device 110 .
  • user 105 may define a new metric and submit the metric to server system 120 through user interface 115 .
  • a metric that is defined by the user in a manner usable by server system 120 may be referred to as a “metric definition.”
  • a metric definition may have any suitable form that permits server system 120 to run database queries based on the metric definition.
  • a metric definition may be a query definition that defines a database query to be executed. This database query may be defined by the query definition such that execution of the database query returns data constituting the metric.
  • a query definition may specify one or more database statements, which may be specified in structured query language (SQL) format.
  • a query definition may include only explicit database statement(s), in which case the query definition may be executed without further modification.
  • the entire query definition may be an SQL query that is executable as-is.
  • a query definition may also include interpreted code, such as code that indicates variables to be resolved at the time the database query is executed. Such variables may be used so as to allow the query definition to define a database query that is variable depending on the circumstances of execution, such as the time or date of execution.
  • a query definition may be interchangeably referred to as a query template.
  • Server system 120 may have automated scheduling and reporting pipeline for handling queries. That is, upon receiving a query definition from user device 110 , server system 120 may automatically set up and execute a query in accordance with the query definition. Accordingly, user device 110 and other user devices 111 may retrieve historical reports, which are generated from execution of the defined metrics, on demand.
  • the functionalities of server system 120 for metrics monitoring may collectively constitute a metrics monitoring engine or an attribution engine.
  • the metrics monitoring engine or attribution engine may include a configuration component, a scheduling component, and a data warehouse component, all of which may be software components executed on server system 120 .
  • user 105 may submit, to the configuration component, metric definitions (e.g., such as query definitions) that are to be executed by the data warehouse component.
  • the configuration component may store the metric definitions and pass them to the scheduling component.
  • the scheduling component may then submit query definitions to the data warehouse component on a regular basis with user-defined frequencies and may store the results of the queries executed according to the query definitions in the warehouse itself. Copies of the results may be also routed to a separate database and cloud storage for diagnostic purposes.
  • Server system 120 may be a computer system of any form that is suitable for performing the functionalities described in this disclosure.
  • server system 120 may have a cloud computing platform with scalable resources for computations and/or data storage, and may run one or more applications on the cloud computing platform to perform the functionalities attributed to server system 120 in this disclosure.
  • the configuration component may include an application programming interface (API) 122 and metric definitions database 124 .
  • API 122 may provide an API layer to which user device 110 may submit metric definitions (e.g., query definitions).
  • submission of metric definitions may be performed via user interface 115 , which may abstract away operations beyond metric definition.
  • User interface 115 may additionally expose previously submitted metric definitions to user 105 so that user 105 may use them, if desired.
  • Metric definitions received from user device 110 may be stored in metric definitions database 124 , which may be, for example, a relational database or other suitable data store.
  • the scheduling component may include scheduler 126 .
  • scheduler 126 may an Apache Airflow scheduler that runs on the Apache Airflow platform.
  • Scheduler 126 may retrieve one or more metric definitions from metric definitions database 124 and determine a database query in accordance with the metric definition. In determining a database query in accordance with the metric definition, any variables in the metric definition may be resolved in order to generate the database query.
  • scheduler 126 may provide the database query to the data warehouse component for query processing.
  • the data warehouse component may be data warehouse 128 .
  • Data warehouse 128 may perform the database query provided by scheduler 126 .
  • the results of the query may be stored within data warehouse 128 .
  • the results may be appended to a table of results stored within data warehouse 128 . This table of results may constitute metric data associated with the query definition.
  • User device 110 or other user devices 111 may access the results through the table. Additionally, a copy of the results may be stored in data stores 130 , such as in cloud store 132 and/or in results database 134 . Other applications running on server system 120 , or another computer system, may consume results stored in these data stores 130 .
  • FIG. 2 depicts a flowchart of a method 200 for monitoring user-defined metrics.
  • server system 120 may receive a metric definition usable to generate queries to obtain data for a metric to be monitored.
  • server system 120 may receive the metric definition from user device 110 .
  • Metric definitions are detailed below with respect to FIG. 3 .
  • server system 120 may receive a monitoring configuration indicative of a manner in which a metric monitoring process 221 associated with the metric definition is to be repeatedly performed.
  • the monitoring configuration may specify a frequency of performing the metric monitoring process 221 .
  • server system 120 may store the metric definition in metric definition database 124 .
  • server system 120 may repeatedly perform the metric monitoring process 221 in accordance with the monitoring configuration.
  • the metric monitoring process 221 may include steps 225 - 240 of method 200 .
  • server system 120 may retrieve the metric definition from the metric definition database 124 .
  • server system 120 may generate a database query based on the metric definition, the database query including one or more executable database statements defined by the metric definition.
  • server system 120 may execute the database query to obtain query result data, the query result data being data for the metric.
  • the metric to be monitored may be a measure or evaluation of events described by data recorded in a data warehouse 128
  • the query result data may be based on the data recorded in the data warehouse 128 .
  • server system 120 may store the query result data.
  • the metric monitoring process 221 may be performed periodically at a specified frequency. Further, scheduler 126 may be used to initiate the metric monitoring process 221 , detailed above. Scheduler 126 may be configured to initiate additional metric monitoring processes, respectively associated with additional metric definitions stored in the metric definition database 124 , in accordance with monitoring configurations associated with the additional metric definitions. Scheduler 126 may be configured to initiate metric monitoring processes 221 respectively associated with different respective metric definitions stored in metric definition database 124 in a sequential manner, so as to avoid concurrent performance of two or more metric monitoring processes 221 .
  • the metric definition may include a template indicative of a variable whose value is to be determined during performance of the metric monitoring process 221 .
  • Generating the database query (step 230 ) may include determining an execution value of the variable.
  • Generating the database query may also include determining the one or more executable database statements by setting the variable to the execution value, such that the one or more executable database segments includes the execution value of the variable.
  • Storing the query result data may include storing the query result data as part of collected metric data associated with the metric.
  • the collected metric data may include values of the metric for a first period of time and the query result data may include values of the metric for a second period of time.
  • storing the query result data may include appending the query result data to the collected metric data.
  • the metric monitoring process 221 may be performed a plurality of times such that the collected metric data is updated a plurality of times.
  • the method 200 may further include presenting the collected metric data to the user device 110 or another user device 111 .
  • the method 200 may be performed by a computer system, such as server system 120 .
  • the method 200 may further include transmitting a web page including a user interface 115 to the user device 110 to enable a user 105 of the user device 110 to submit the metric definition to the computer system.
  • the method 200 may further include transmitting a web page including a user interface 115 including a list of metric definitions stored in the metric definition database 124 to the user device 110 .
  • the list may include one or more metric definitions submitted by another user.
  • FIG. 3 illustrates an example of a user interface section 300 of user interface 115 that displays various events.
  • the exemplary user interface section 300 may include separate columns, or fields, for each event.
  • the fields may include fields for “id,” “event name,” “event description,” event query,” and “delete.”
  • each event may include an ID, an event name, an event description, an event query, and an option to delete the event.
  • the ID may include a predetermined numerical, alphabetical, and/or alphanumeric value for quickly identifying the event.
  • Each event may include a unique ID assigned to the respective event.
  • the event name may include a plain English language description of what the event is tracking.
  • the event description may provide a more detailed description of the event.
  • the event query may include the metric definition MD1-MD5 of the event. As detailed above, the metric definition may be input by a user 105 on user device 110 and may be stored in metric definition database 124 .
  • the exemplary user interface section 300 includes reference to five different events, including, for example, event 1, event 2, event 3, event 4, and event 5. However, it is understood that user interface section 300 may include any number and/or type of events for monitoring metrics. In one non-limiting example related to financial institutions (e.g., banks), events may include signing up for paperless delivery (e.g., via e-mail), applied for a credit card, approved for a credit card, or balance transfer.
  • financial institutions e.g., banks
  • events may include signing up for paperless delivery (e.g., via e-mail), applied for a credit card, approved for a credit card, or balance transfer.
  • the metric definitions MD1-MD5 for each event may be input by a user 105 and/or may already be stored in metric definition database 124 .
  • the metric definition may include a string of code (e.g., in SQL format) that defines a database query to be executed.
  • metric definition MD1 for paperless signup e.g., event name: “GO_PAPERLESS”
  • event name: “GO_PAPERLESS” may have the form: “CREATE TABLE ⁇ target_schema ⁇ .
  • the metric definition MD1 includes one or more variables to be resolved at the time the database query is executed.
  • the variables may include parameters within the curly brackets or braces (e.g., “ ⁇ ” and “ ⁇ ”).
  • the variables may include different values that are valid in different contexts, such as, for example, different environments, different dates, etc. Thus, the same query may be run in any different context, as defined by the variables.
  • the variables may include, for example, target schema, table name, start date, and end date.
  • the query for metric definition MD1 may be run in different contexts, including different target schema, different table names, and/or different start and end dates.
  • any event may be accessed by any user 105 via user device 110 and/or other user devices 111 for any type of campaign.
  • campaigns may include any number of events.
  • LOBs lines of business
  • Measuring the efficacy of products and business initiatives through analytics is a function useful to a business.
  • efficacy can be measured in a wide variety of metrics, some of which are more relevant to the business problem at hand than others.
  • the attribution engine of the present disclosure provides analysts the ability to customize any metric they require, as long as the relevant data is available.
  • the attribution engine of the present disclosure automatically sets up the entire monitoring process once the analyst has provided the SQL query to define the metric, saving hours or more of manual effort. Analysts can also re-use any metric that has been defined previously, saving them the trouble of creating a query from scratch.
  • the reusability of queries is especially advantageous in the case of commonly used metrics, in that multiple analysts requiring the same metric can access the results of a single calculation instead of expending resources on running the same calculation per analyst.
  • the systems and methods described above may greatly reduce the workload and turnaround time of monitoring and report generation.
  • any method discussed in this disclosure that is understood to be computer-implementable, such as the methods described in connection with FIG. 2 may be performed by one or more processors of a computer system, such as user device 110 or server system 120 , as described above.
  • a method or method step performed by one or more processors may also be referred to as an operation.
  • the one or more processors may be configured to perform such processes by having access to instructions (e.g., software or computer-readable code) that, when executed by the one or more processors, cause the one or more processors to perform the processes.
  • the instructions may be stored in a memory of the computer system.
  • a processor may be a central processing unit (CPU), a graphics processing unit (GPU), or another type of processing unit.
  • a computer system such as user device 110 and/or server system 120 , may include one or more computing devices. If the one or more processors of the computer system is implemented as a plurality of processors, the plurality of processors may be included in a single computing device or distributed among a plurality of computing devices. If a computer system comprises a plurality of computing devices, the memory of the computer system may include the respective memory of each computing device of the plurality of computing devices.
  • FIG. 4 illustrates an example of a computing device 400 of a computer system.
  • the computing device 400 may include processor(s) 410 (e.g., CPU, GPU, or other processing unit), a memory 420 , and communication interface(s) 440 (e.g., a network interface) to communicate with other devices.
  • Memory 420 may include volatile memory, such as RAM, and/or non-volatile memory, such as ROM and storage media. Examples of storage media include solid-state storage media (e.g., solid state drives and/or removable flash memory), optical storage media (e.g., optical discs), and/or magnetic storage media (e.g., hard disk drives).
  • the aforementioned instructions may be stored in any volatile and/or non-volatile memory component of memory 420 .
  • the computing device 400 may, in some embodiments, further include input device(s) 450 (e.g., a keyboard, mouse, or touchscreen) and output device(s) 460 (e.g., a display, printer).
  • input device(s) 450 e.g., a keyboard, mouse, or touchscreen
  • output device(s) 460 e.g., a display, printer.
  • the aforementioned elements of the computing device 400 may be connected to one another through a bus 430 , which represents one or more busses.
  • Non-transitory computer-readable medium Instructions executable by one or more processors may be stored on a non-transitory computer-readable medium. Therefore, whenever a computer-implemented method is described in this disclosure, this disclosure shall also be understood as describing a non-transitory computer-readable medium storing instructions that, when executed by one or more processors, configure and/or cause the one or more processors to perform the computer-implemented method. Examples of non-transitory computer-readable medium include RAM, ROM, solid-state storage media (e.g., solid state drives), optical storage media (e.g., optical discs), and magnetic storage media (e.g., hard disk drives). A non-transitory computer-readable medium may be part of the memory of a computer system or separate from any computer system.

Abstract

Disclosed are systems and methods for monitoring user-defined metrics. A method may include: receiving, from a user device, a metric definition usable to generate queries to obtain data for a metric to be monitored; receiving, from the user device, a monitoring configuration indicative of a manner in which a metric monitoring process associated with the metric definition is to be repeatedly performed; storing the metric definition in a metric definition database; and repeatedly performing the metric monitoring process in accordance with the monitoring configuration. The metric monitoring process may include: retrieving the metric definition from the metric definition database; generating a database query based on the metric definition, the database query including one or more executable database statements defined by the metric definition; executing the database query to obtain query result data, the query result data being data for the metric; and storing the query result data.

Description

    TECHNICAL FIELD
  • Various embodiments of the present disclosure relate generally to systems and methods for monitoring metrics and, more particularly, to systems and methods for automatically scheduling and executing user-defined database queries that generate such metrics and storing query results for access by users.
  • BACKGROUND
  • A business or other organization may maintain or have access to data that can be analyzed. A business analyst, for example, may be tasked with performing analytics on such data in order to determine metrics that may be used to understand and improve the performance of a business operation. Data may be analyzed with the use of database queries executed by a computer system. However, the business may include various lines of business (LOBs) or business units that each include their own databases and/or metrics. Therefore, there is a need for systems and methods that facilitate analytics based on database queries. In particular, there is a need for systems and methods for automatically scheduling and executing database queries that generate such metrics, and for enabling multiple users to access the queries and their results.
  • The present disclosure is directed to addressing one or more of these above-referenced challenges. The background description provided herein is for the purpose of generally presenting the context of the disclosure. Unless otherwise indicated herein, the materials described in this section are not prior art to the claims in this application and are not admitted to be prior art, or suggestions of the prior art, by inclusion in this section.
  • SUMMARY OF THE DISCLOSURE
  • According to certain aspects of the disclosure, systems and methods are disclosed for monitoring user-defined metrics.
  • According to one embodiment, a computer-implemented method for monitoring metrics is disclosed. The method may include: receiving, from a user device, a metric definition usable to generate queries to obtain data for a metric to be monitored; receiving, from the user device, a monitoring configuration indicative of a manner in which a metric monitoring process associated with the metric definition is to be repeatedly performed; storing the metric definition in a metric definition database; and repeatedly performing the metric monitoring process in accordance with the monitoring configuration, the metric monitoring process including: retrieving the metric definition from the metric definition database; generating a database query based on the metric definition, the database query including one or more executable database statements defined by the metric definition; executing the database query to obtain query result data, the query result data being data for the metric; and storing the query result data.
  • In another embodiment, a computer system for monitoring metrics is disclosed. The computer system may include: a memory storing instructions; and one or more processors configured to execute the instructions to perform operations. The operations may include: receiving a plurality of metric definitions, each of the plurality of metric definitions being usable to generate queries to obtain data for a respective metric to be monitored; storing the plurality of metric definitions in a metric definition database; and scheduling and performing a plurality of metric monitoring processes respectively associated with the plurality of metric definitions, such that each of the plurality of metric monitoring processes is periodically performed at a respective user-specified frequency, wherein each of the plurality of metric monitoring processes includes: retrieving the respective metric definition from the metric definition database; generating a database query based on the respective metric definition, the database query including one or more executable database statements defined by the respective metric definition; executing the database query to obtain query result data, the query result data being data for the respective metric; and storing the query result data.
  • In yet another embodiment, a computer system for monitoring metrics is disclosed. The computer system may include: a memory storing instructions; and one or more processors configured to execute the instructions to perform operations. The operations may include: receiving, from a user device, a metric definition usable to generate queries to obtain data for a metric to be monitored, the metric being a measure or evaluation of events described by data recorded in a data warehouse; receiving, from the user device, a monitoring configuration indicative of a manner in which a metric monitoring process associated with the metric definition is to be repeatedly performed; storing the metric definition in a metric definition database; and repeatedly performing the metric monitoring process in accordance with the monitoring configuration, the metric monitoring process including: retrieving the metric definition from the metric definition database; generating a database query based on the metric definition, the database query including one or more executable database statements defined by the metric definition; executing the database query to obtain query result data, the query result data being data for the metric and being based on the data recorded in the data warehouse; and storing the query result data as part of collected metric data associated with the metric; and executing a web service enabling the user device and other user devices to retrieve the collected metric data.
  • Additional objects and advantages of the disclosed embodiments will be set forth in part in the description that follows, and in part will be apparent from the description, or may be learned by practice of the disclosed embodiments.
  • It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosed embodiments, as claimed.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate various exemplary embodiments and together with the description, serve to explain the principles of the disclosed embodiments.
  • FIG. 1 depicts an exemplary system infrastructure for monitoring user-defined metrics, according to one or more embodiments.
  • FIG. 2 depicts a flowchart of a method for monitoring user-defined metrics, according to one or more embodiments.
  • FIG. 3 depicts an example of a user interface that displays various events for use by the system of FIG. 1 .
  • FIG. 4 illustrates an example system that may execute techniques presented herein.
  • DETAILED DESCRIPTION OF EMBODIMENTS
  • The terminology used below may be interpreted in its broadest reasonable manner, even though it is being used in conjunction with a detailed description of certain specific examples of the present disclosure. Indeed, certain terms may even be emphasized below; however, any terminology intended to be interpreted in any restricted manner will be overtly and specifically defined as such in this Detailed Description section. Both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the features, as claimed.
  • In this disclosure, the term “based on” means “based at least in part on.” The singular forms “a,” “an,” and “the” include plural referents unless the context dictates otherwise. The term “exemplary” is used in the sense of “example” rather than “ideal.” The terms “comprises,” “comprising,” “includes,” “including,” or other variations thereof, are intended to cover a non-exclusive inclusion such that a process, method, or product that comprises a list of elements does not necessarily include only those elements, but may include other elements not expressly listed or inherent to such a process, method, article, or apparatus. Relative terms, such as, “substantially” and “generally,” are used to indicate a possible variation of ±10% of a stated or understood value.
  • In the following description, embodiments will be described with reference to the accompanying drawings. As will be discussed in more detail below, systems and methods for monitoring user-defined metrics are disclosed. Embodiments of the present disclosure may provide for an attribution engine that includes a system for monitoring business metrics designed around flexibility and ease of use by analysts. For example, a user may define a new monitoring metric through structured query language (SQL) commands submitted to the attribution engine. Upon submission, the entire scheduling and reporting pipeline may be automatically set up and users may retrieve historical reports on the defined metrics on-demand.
  • Embodiments of the present disclosure may also provide for a system architecture for the attribution engine. The system architecture may include three major components, including, for example, configuration, scheduling, and a data warehouse. Users may submit metric definitions (e.g., SQL commands to be run on the data warehouse) to the configuration component. The configuration component may store the definitions and may pass the definitions to the scheduling component. The scheduling component may submit the SQL commands to the data warehouse on a regular basis with user-defined frequencies and may store the results of the commands in the data warehouse itself. Copies of the results may also be routed to a separate database and/or cloud storage for diagnostic purposes.
  • The configuration component may consist of a REST API layer that receives user-input metric definitions (e.g., as SQL commands). For example, a user may submit the metric definitions to the configuration component via a user interface. The user interface may abstract away any operation beyond the metric definition, and may also expose (e.g., display) previously submitted metric definitions. Thus, users may use previously submitted metric definitions as needed, rather than submit entirely new metric definitions. Submitted metric definitions may be stored in a relational database.
  • The scheduling component may pick up the SQL queries from the relational database and may send the queries to the data warehouse. In some embodiments, the scheduling component may run on an Apache Airflow platform. The operations within the SQL queries may be processed in the data warehouse and the outcomes may be appended to a table of results within the data warehouse itself. Thus, users may access the results via the table of results displayed on the user interface. Programmatic consumption by applications may also be possible through copies of the results sent to cloud storage and/or a results database.
  • Referring now to the appended drawings, FIG. 1 illustrates a system 100 for monitoring user-defined metrics. The system 100 may include a user device 110 operated by a user 105, and a server system 120. User device 110 and server system 120 may communicate through communication network 150, which may be one or a combination of public networks (e.g., the Internet), local networks, and/or other networks.
  • User 105 may be any person or plurality of persons who operate user device 110 to utilize metrics monitoring functionalities provided by server system 120. The role of user 105 may depend on the usage context of system 100. For example, if server system 120 is operated by an organization, such as a company, corporation, or other organization, user 105 may represent an analyst that utilizes server system 120 for monitoring metrics that are relevant to that organization.
  • In this disclosure, the term “metric” is used broadly and expansively. For example, a “metric” may be a measure or evaluation of some aspect (e.g., activities and/or events) of interest. A metric may be, for example, a performance indicator that measures the performance of, for example, a process, a business operation, or a business or organization as a whole. In some embodiments, a metric may be a business metric that characterizes business-related event(s), such as customer-related activity. For example, a business metric may indicate a quantity, value (e.g., monetary value), and/or statistical characteristic of a certain type of customer activity, such as a number of weekly signups for a new product over a certain period of time. A business metric may also be referred to as a business performance indicator.
  • A “metric” may be a parameter whose value(s) are determined by data analysis. Such data analysis may be performed using database queries as described in this disclosure. For example, a metric may be a number of new customers per week for a certain line of business, and the values of such metric (e.g., 1500 new customers in week 1, and 1600 new customers in week 2) may be determined by database queries. The values of a metric may be associated with a certain time or time periods (e.g., week 1, week 2, etc.).
  • User device 110 may be any suitable computer system, such as a laptop or desktop computer or a mobile computing device such as a smartphone, tablet, or wearable computable device. User device 110 may display a user interface (UI) 115 enabling user 105 to access metrics monitoring functionalities provided by server system 120. In some embodiments, user interface 115 may be a graphical user interface of a webpage or web application wherein the webpage or web application may be executed in a web browser application of user device 110. In additional applications, the user interface 115 may be part of a native application executed, or otherwise presented, on user device 110. While a single user 105 and a single user device 110 are shown in FIG. 1 , it is understood that system 110 may include a plurality of such user devices, including other user devices 111, each operated by a respective user.
  • Server system 120 may monitor metrics based on configurations received from user devices, such as user device 110. For example, user 105 may define a new metric and submit the metric to server system 120 through user interface 115. A metric that is defined by the user in a manner usable by server system 120 may be referred to as a “metric definition.”
  • A metric definition may have any suitable form that permits server system 120 to run database queries based on the metric definition. In various embodiments, a metric definition may be a query definition that defines a database query to be executed. This database query may be defined by the query definition such that execution of the database query returns data constituting the metric. A query definition may specify one or more database statements, which may be specified in structured query language (SQL) format.
  • In some cases, a query definition may include only explicit database statement(s), in which case the query definition may be executed without further modification. For example, the entire query definition may be an SQL query that is executable as-is. However, a query definition may also include interpreted code, such as code that indicates variables to be resolved at the time the database query is executed. Such variables may be used so as to allow the query definition to define a database query that is variable depending on the circumstances of execution, such as the time or date of execution. A query definition may be interchangeably referred to as a query template.
  • Server system 120 may have automated scheduling and reporting pipeline for handling queries. That is, upon receiving a query definition from user device 110, server system 120 may automatically set up and execute a query in accordance with the query definition. Accordingly, user device 110 and other user devices 111 may retrieve historical reports, which are generated from execution of the defined metrics, on demand.
  • The functionalities of server system 120 for metrics monitoring may collectively constitute a metrics monitoring engine or an attribution engine. The metrics monitoring engine or attribution engine may include a configuration component, a scheduling component, and a data warehouse component, all of which may be software components executed on server system 120. In general, user 105 may submit, to the configuration component, metric definitions (e.g., such as query definitions) that are to be executed by the data warehouse component. The configuration component may store the metric definitions and pass them to the scheduling component. The scheduling component may then submit query definitions to the data warehouse component on a regular basis with user-defined frequencies and may store the results of the queries executed according to the query definitions in the warehouse itself. Copies of the results may be also routed to a separate database and cloud storage for diagnostic purposes.
  • Server system 120 may be a computer system of any form that is suitable for performing the functionalities described in this disclosure. For example, server system 120 may have a cloud computing platform with scalable resources for computations and/or data storage, and may run one or more applications on the cloud computing platform to perform the functionalities attributed to server system 120 in this disclosure.
  • The configuration component may include an application programming interface (API) 122 and metric definitions database 124. API 122 may provide an API layer to which user device 110 may submit metric definitions (e.g., query definitions). Submission of metric definitions may be performed via user interface 115, which may abstract away operations beyond metric definition. User interface 115 may additionally expose previously submitted metric definitions to user 105 so that user 105 may use them, if desired. Metric definitions received from user device 110 may be stored in metric definitions database 124, which may be, for example, a relational database or other suitable data store.
  • The scheduling component may include scheduler 126. For example, scheduler 126 may an Apache Airflow scheduler that runs on the Apache Airflow platform. Scheduler 126 may retrieve one or more metric definitions from metric definitions database 124 and determine a database query in accordance with the metric definition. In determining a database query in accordance with the metric definition, any variables in the metric definition may be resolved in order to generate the database query. After determining the database query, scheduler 126 may provide the database query to the data warehouse component for query processing.
  • The data warehouse component may be data warehouse 128. Data warehouse 128 may perform the database query provided by scheduler 126. The results of the query may be stored within data warehouse 128. In some embodiments, the results may be appended to a table of results stored within data warehouse 128. This table of results may constitute metric data associated with the query definition.
  • User device 110 or other user devices 111 may access the results through the table. Additionally, a copy of the results may be stored in data stores 130, such as in cloud store 132 and/or in results database 134. Other applications running on server system 120, or another computer system, may consume results stored in these data stores 130.
  • FIG. 2 depicts a flowchart of a method 200 for monitoring user-defined metrics. In an initial step 205, server system 120 may receive a metric definition usable to generate queries to obtain data for a metric to be monitored. For example, server system 120 may receive the metric definition from user device 110. Metric definitions are detailed below with respect to FIG. 3 .
  • In step 210, server system 120 may receive a monitoring configuration indicative of a manner in which a metric monitoring process 221 associated with the metric definition is to be repeatedly performed. The monitoring configuration may specify a frequency of performing the metric monitoring process 221.
  • In step 215, server system 120 may store the metric definition in metric definition database 124.
  • In step 220, server system 120 may repeatedly perform the metric monitoring process 221 in accordance with the monitoring configuration.
  • The metric monitoring process 221 may include steps 225-240 of method 200. For example, in step 225, server system 120 may retrieve the metric definition from the metric definition database 124.
  • In step 230, server system 120 may generate a database query based on the metric definition, the database query including one or more executable database statements defined by the metric definition.
  • In step 235, server system 120 may execute the database query to obtain query result data, the query result data being data for the metric. In some embodiments, the metric to be monitored may be a measure or evaluation of events described by data recorded in a data warehouse 128, and the query result data may be based on the data recorded in the data warehouse 128.
  • In step 240, server system 120 may store the query result data.
  • The metric monitoring process 221 may be performed periodically at a specified frequency. Further, scheduler 126 may be used to initiate the metric monitoring process 221, detailed above. Scheduler 126 may be configured to initiate additional metric monitoring processes, respectively associated with additional metric definitions stored in the metric definition database 124, in accordance with monitoring configurations associated with the additional metric definitions. Scheduler 126 may be configured to initiate metric monitoring processes 221 respectively associated with different respective metric definitions stored in metric definition database 124 in a sequential manner, so as to avoid concurrent performance of two or more metric monitoring processes 221.
  • The metric definition may include a template indicative of a variable whose value is to be determined during performance of the metric monitoring process 221. Generating the database query (step 230) may include determining an execution value of the variable. Generating the database query may also include determining the one or more executable database statements by setting the variable to the execution value, such that the one or more executable database segments includes the execution value of the variable.
  • Storing the query result data may include storing the query result data as part of collected metric data associated with the metric. The collected metric data may include values of the metric for a first period of time and the query result data may include values of the metric for a second period of time. Thus, storing the query result data may include appending the query result data to the collected metric data. Further, the metric monitoring process 221 may be performed a plurality of times such that the collected metric data is updated a plurality of times. The method 200 may further include presenting the collected metric data to the user device 110 or another user device 111.
  • The method 200 may be performed by a computer system, such as server system 120. The method 200 may further include transmitting a web page including a user interface 115 to the user device 110 to enable a user 105 of the user device 110 to submit the metric definition to the computer system. The method 200 may further include transmitting a web page including a user interface 115 including a list of metric definitions stored in the metric definition database 124 to the user device 110. The list may include one or more metric definitions submitted by another user.
  • FIG. 3 illustrates an example of a user interface section 300 of user interface 115 that displays various events. As shown in FIG. 3 , the exemplary user interface section 300 may include separate columns, or fields, for each event. For example, the fields may include fields for “id,” “event name,” “event description,” event query,” and “delete.” Accordingly, each event may include an ID, an event name, an event description, an event query, and an option to delete the event. The ID may include a predetermined numerical, alphabetical, and/or alphanumeric value for quickly identifying the event. Each event may include a unique ID assigned to the respective event. The event name may include a plain English language description of what the event is tracking. The event description may provide a more detailed description of the event. The event query may include the metric definition MD1-MD5 of the event. As detailed above, the metric definition may be input by a user 105 on user device 110 and may be stored in metric definition database 124.
  • The exemplary user interface section 300 includes reference to five different events, including, for example, event 1, event 2, event 3, event 4, and event 5. However, it is understood that user interface section 300 may include any number and/or type of events for monitoring metrics. In one non-limiting example related to financial institutions (e.g., banks), events may include signing up for paperless delivery (e.g., via e-mail), applied for a credit card, approved for a credit card, or balance transfer.
  • The metric definitions MD1-MD5 for each event may be input by a user 105 and/or may already be stored in metric definition database 124. As detailed above, the metric definition may include a string of code (e.g., in SQL format) that defines a database query to be executed. For example, metric definition MD1 for paperless signup (e.g., event name: “GO_PAPERLESS”) may have the form: “CREATE TABLE {{target_schema}}. {{table_name}}_{{start_date.strftimer(‘% Y_% m_% d’)}} DISTINCT b.cust_rgtry_id AS sso=id, TO_TIMESTAMP(a.ev_dt+a.evt_tm, ‘YYYY-MMDDHH24:MI:SS’) AS web_actvy_dt, ‘GO_PAPERLESS’ AS event_name FROM (SELECT DISTINCT acct_id, evt_dt, evt_tm FROM . . . WHERE evt_dt>=‘{{start_date}}’ AND evt_dt<‘{{end_date}}’ AND evt_type_cd=509 AND scrn_id=‘KREB’) a JOIN . . . b ON . . . ” (where an ellipsis ( . . . ) is used to indicate parts of the database query not shown for purposes of illustration).
  • The metric definition MD1 includes one or more variables to be resolved at the time the database query is executed. The variables may include parameters within the curly brackets or braces (e.g., “{” and “}”). The variables may include different values that are valid in different contexts, such as, for example, different environments, different dates, etc. Thus, the same query may be run in any different context, as defined by the variables. In the exemplary metric definition MD1, the variables may include, for example, target schema, table name, start date, and end date. Thus, the query for metric definition MD1 may be run in different contexts, including different target schema, different table names, and/or different start and end dates.
  • After the events have been stored in metric definition database 124, any event may be accessed by any user 105 via user device 110 and/or other user devices 111 for any type of campaign. For example, campaigns may include any number of events. Thus, different lines of business (LOBs) may utilize the metric definitions stored in metric definitions database 124 for various events as needed.
  • Measuring the efficacy of products and business initiatives through analytics is a function useful to a business. However, efficacy can be measured in a wide variety of metrics, some of which are more relevant to the business problem at hand than others. The attribution engine of the present disclosure provides analysts the ability to customize any metric they require, as long as the relevant data is available. In addition, the attribution engine of the present disclosure automatically sets up the entire monitoring process once the analyst has provided the SQL query to define the metric, saving hours or more of manual effort. Analysts can also re-use any metric that has been defined previously, saving them the trouble of creating a query from scratch. The reusability of queries is especially advantageous in the case of commonly used metrics, in that multiple analysts requiring the same metric can access the results of a single calculation instead of expending resources on running the same calculation per analyst. Thus, the systems and methods described above may greatly reduce the workload and turnaround time of monitoring and report generation.
  • In general, any method discussed in this disclosure that is understood to be computer-implementable, such as the methods described in connection with FIG. 2 , may be performed by one or more processors of a computer system, such as user device 110 or server system 120, as described above. A method or method step performed by one or more processors may also be referred to as an operation. The one or more processors may be configured to perform such processes by having access to instructions (e.g., software or computer-readable code) that, when executed by the one or more processors, cause the one or more processors to perform the processes. The instructions may be stored in a memory of the computer system. A processor may be a central processing unit (CPU), a graphics processing unit (GPU), or another type of processing unit.
  • A computer system, such as user device 110 and/or server system 120, may include one or more computing devices. If the one or more processors of the computer system is implemented as a plurality of processors, the plurality of processors may be included in a single computing device or distributed among a plurality of computing devices. If a computer system comprises a plurality of computing devices, the memory of the computer system may include the respective memory of each computing device of the plurality of computing devices.
  • FIG. 4 illustrates an example of a computing device 400 of a computer system. The computing device 400 may include processor(s) 410 (e.g., CPU, GPU, or other processing unit), a memory 420, and communication interface(s) 440 (e.g., a network interface) to communicate with other devices. Memory 420 may include volatile memory, such as RAM, and/or non-volatile memory, such as ROM and storage media. Examples of storage media include solid-state storage media (e.g., solid state drives and/or removable flash memory), optical storage media (e.g., optical discs), and/or magnetic storage media (e.g., hard disk drives). The aforementioned instructions (e.g., software or computer-readable code) may be stored in any volatile and/or non-volatile memory component of memory 420. The computing device 400 may, in some embodiments, further include input device(s) 450 (e.g., a keyboard, mouse, or touchscreen) and output device(s) 460 (e.g., a display, printer). The aforementioned elements of the computing device 400 may be connected to one another through a bus 430, which represents one or more busses.
  • Instructions executable by one or more processors may be stored on a non-transitory computer-readable medium. Therefore, whenever a computer-implemented method is described in this disclosure, this disclosure shall also be understood as describing a non-transitory computer-readable medium storing instructions that, when executed by one or more processors, configure and/or cause the one or more processors to perform the computer-implemented method. Examples of non-transitory computer-readable medium include RAM, ROM, solid-state storage media (e.g., solid state drives), optical storage media (e.g., optical discs), and magnetic storage media (e.g., hard disk drives). A non-transitory computer-readable medium may be part of the memory of a computer system or separate from any computer system.
  • It should be appreciated that in the above description of exemplary embodiments, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this disclosure.
  • Furthermore, while some embodiments described herein include some but not other features included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the disclosure, and form different embodiments, as would be understood by those skilled in the art. For example, in the following claims, any of the claimed embodiments can be used in any combination.
  • Thus, while certain embodiments have been described, those skilled in the art will recognize that other and further modifications may be made thereto without departing from the spirit of the disclosure, and it is intended to claim all such changes and modifications as falling within the scope of the disclosure. For example, functionality may be added or deleted from the block diagrams and operations may be interchanged among functional blocks. Steps may be added or deleted to methods described within the scope of the present disclosure.
  • The above disclosed subject matter is to be considered illustrative, and not restrictive, and the appended claims are intended to cover all such modifications, enhancements, and other implementations, which fall within the true spirit and scope of the present disclosure. Thus, to the maximum extent allowed by law, the scope of the present disclosure is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited by the foregoing detailed description. While various implementations of the disclosure have been described, it will be apparent to those of ordinary skill in the art that many more implementations and implementations are possible within the scope of the disclosure. Accordingly, the disclosure is not to be restricted.

Claims (21)

1-20. (canceled)
21. A computer-implemented method for monitoring metrics, the method comprising:
receiving, from a user device, a query definition for a metric to be monitored via a metric monitoring process, the metric measuring an event having event data recorded in a data warehouse, and the query definition including one or more variables to be resolved;
automatically scheduling the metric monitoring process to be repeatedly performed at a particular frequency; and
automatically performing the metric monitoring process based on the scheduling, wherein performing each metric monitoring process includes:
generating a query to be executed based on the query definition, the generating including resolving the one or more variables based on an execution context of the query; and
providing the query to the data warehouse for execution to obtain query result data based on the recorded event data, wherein the query result data includes a value, for the metric, and the query result data is stored in a table of the data warehouse that is accessible by the user device.
22. The computer-implemented method of claim 21, wherein receiving the query definition comprises:
generating and providing, to the user device, a user interface enabling submission of a new query definition for display on the user device, wherein the query definition received is a new query definition submitted via the user interface.
23. The computer-implemented method of claim 21, wherein receiving the query definition comprises;
generating and providing, to the user device, a user interface comprising a plurality of previously submitted query definitions for display on the user device, wherein the query definition received is selected from the plurality of previously submitted query definitions via the user interface.
24. The computer-implemented method of claim 21, further comprising:
providing the query definition to a definition database for storage; and
for each metric monitoring process performed, receiving the query definition from the definition database to generate the query based on the query definition.
25. The computer-implemented method of claim 21, wherein the query definition defines one or more executable database statements, and at least one of the one or more executable database statements includes the one or more variables to be resolved.
26. The computer-implemented method of claim 25, wherein generating the query comprises:
determining an execution value of each of the one or more variables based on the execution context of the query to resolve the one or more variables; and
determining the at least one executable database statement by setting each of the one or more variables to the respective execution value, such that the at least one executable database statement includes the execution value of the variable.
27. The computer-implemented method of claim 21, wherein the one or more variables to be resolved include one or more of a target schema, a table name, a start date, or an end date associated with the event data recorded in the data warehouse.
28. The computer-implemented method of claim 21, wherein the execution context of the query includes one or more of a date, a time, or an environment associated with the execution.
29. The computer-implemented method of claim 21, wherein event data associated with a plurality of events of different event types, including the event data associated with the event, are recorded in the data warehouse, and automatically scheduling the metric monitoring process to be repeatedly performed at the particular frequency comprises;
scheduling the metric monitoring process to be performed sequentially with at least one other metric monitoring process for monitoring a metric to measure another event from the plurality of events.
30. The computer-implemented method of claim 21, further comprising:
receiving, from the user device, a monitoring configuration that includes the particular frequency at which the metric monitoring process is to be repeatedly performed.
31. The computer-implemented method of claim 21, wherein:
the metric is associated with a particular period of time,
query result data obtained as part of one or more initial performances of the metric monitoring process and stored in the table includes values for the metric for a first period of time corresponding to the particular period of time, and
query result data obtained as part of one or more later performances of the metric monitoring process and stored in the table as an appendage to the table includes values for the metric for a second period of time corresponding to the particular period of time and different from the first period of time,
32. A system for monitoring metrics, the system comprising:
a memory storing instructions; and
one or more processors configured to execute the instructions to perform operations including:
receiving, from a user device, a query definition usable to generate a query to obtain data for a metric associated with an event from a plurality of events having event data recorded in a data warehouse, the query definition including one or more variables to be resolved at a time of query execution;
automatically scheduling the query to be repeatedly executed at a particular frequency; and
in accordance with the scheduling, automatically initiating an execution of the query by:
generating the query to be executed based on the query definition, the generating including resolving the one or more variables based on an execution context of the query; and
providing the query to the data warehouse for execution to obtain query result data based on the recorded event data for the event, wherein the query result data includes data for the metric, and the query result data is stored in a table of the data warehouse that is accessible by the user device.
33. The system of claim 32, wherein the query definition defines one or more executable database statements, and at least one of the one or more executable database statements includes the one or more variables to be resolved.
34. The system of claim 33, wherein generating the query comprises:
determining an execution value of each of the one or more variables based on the execution context of the query to resolve the one or more variables; and
determining the at least one executable database statement by setting each of the one or more variables to the respective execution value, such that the at least one executable database statement includes the execution value of the variable.
35. The system of claim 32, wherein the one or more variables to be resolved include one or more of a target schema, a table name, a start date, or an end date associated with the event data recorded in the data warehouse.
36. The system of claim 32, wherein the execution context of the query includes one or more of a date, a time, or an environment associated with the execution.
37. The system of claim 32 wherein:
the metric is associated with a particular period of time,
query result data obtained as part of one or more initial query executions and stored in the table includes data for the metric for a first period of time corresponding to the particular period of time, and
query result data obtained as part of one or more later query executions and stored in the table as an appendage to the table includes data for the metric for a second period of time corresponding to the particular period of time and different from the first period of time.
38. A computer-implemented method for monitoring metrics, the method comprising:
receiving, from a user device, a query definition for a metric to be monitored via a metric monitoring process, the metric being a measure of an event having event data recorded in a data warehouse and the metric being associated with a particular period of time;
automatically scheduling the metric monitoring process to be repeatedly performed at a particular frequency; and
automatically performing the metric monitoring process based on the scheduling, wherein performing each metric monitoring process includes:
generating a query to be executed based on the query definition; and
providing the query to the data warehouse for execution to obtain query result data based on the recorded event data, the query result data including data for the metric for a first period of time corresponding to the particular period of time,
wherein the query result data is stored in a table of the data warehouse that is accessible by the user device, and as the metric monitoring process is repeatedly performed, additional query result data obtained is appended to the table of the data warehouse, the additional query result data including data for the metric for a second period of time corresponding to the particular period of time.
39. The computer-implemented method of claim 38, wherein the query definition defines one or more executable database statements, and each of the one or more executable database statements are explicit database statements.
40. The computer-implemented method of claim 38, wherein the query definition defines one or more executable database statements, and at least one of the one or more executable database statements includes one or more variables to be resolved at a time of query execution.
US17/930,821 2020-04-28 2022-09-09 Systems and methods for monitoring user-defined metrics Pending US20230004560A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/930,821 US20230004560A1 (en) 2020-04-28 2022-09-09 Systems and methods for monitoring user-defined metrics

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US16/860,154 US11475008B2 (en) 2020-04-28 2020-04-28 Systems and methods for monitoring user-defined metrics
US17/930,821 US20230004560A1 (en) 2020-04-28 2022-09-09 Systems and methods for monitoring user-defined metrics

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US16/860,154 Continuation US11475008B2 (en) 2020-04-28 2020-04-28 Systems and methods for monitoring user-defined metrics

Publications (1)

Publication Number Publication Date
US20230004560A1 true US20230004560A1 (en) 2023-01-05

Family

ID=75728586

Family Applications (2)

Application Number Title Priority Date Filing Date
US16/860,154 Active 2040-08-07 US11475008B2 (en) 2020-04-28 2020-04-28 Systems and methods for monitoring user-defined metrics
US17/930,821 Pending US20230004560A1 (en) 2020-04-28 2022-09-09 Systems and methods for monitoring user-defined metrics

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US16/860,154 Active 2040-08-07 US11475008B2 (en) 2020-04-28 2020-04-28 Systems and methods for monitoring user-defined metrics

Country Status (3)

Country Link
US (2) US11475008B2 (en)
EP (1) EP3905058A1 (en)
CA (1) CA3116373A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102620225B1 (en) * 2023-06-27 2024-01-02 쿠팡 주식회사 Method and electronic device for managing data related to service

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020198985A1 (en) * 2001-05-09 2002-12-26 Noam Fraenkel Post-deployment monitoring and analysis of server performance
US6886005B2 (en) * 2000-02-17 2005-04-26 E-Numerate Solutions, Inc. RDL search engine
US7657552B2 (en) * 2003-02-12 2010-02-02 Microsoft Corporation Declarative sequenced report parameterization
US20160378552A1 (en) * 2015-06-26 2016-12-29 Amazon Technologies, Inc. Automatic scaling of computing resources using aggregated metrics
US20170019487A1 (en) * 2015-01-31 2017-01-19 Splunk Inc. Automated service discovery in i.t. environments
US10848402B1 (en) * 2018-10-24 2020-11-24 Thousandeyes, Inc. Application aware device monitoring correlation and visualization

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE511614C2 (en) * 1996-10-22 1999-10-25 Ericsson Telefon Ab L M Ways to measure QOS
US7111059B1 (en) 2000-11-10 2006-09-19 Microsoft Corporation System for gathering and aggregating operational metrics
US6789046B1 (en) * 2000-12-05 2004-09-07 Microsoft Corporation Performance logging solution
US7840550B2 (en) 2002-08-13 2010-11-23 International Business Machines Corporation System and method for monitoring database queries
US7437675B2 (en) * 2003-02-03 2008-10-14 Hewlett-Packard Development Company, L.P. System and method for monitoring event based systems
US7953765B2 (en) 2003-07-11 2011-05-31 Computer Associates Think, Inc. System and method for storing metrics in a database
US7324922B2 (en) * 2005-10-26 2008-01-29 International Business Machines Corporation Run-time performance verification system
US8843883B2 (en) * 2007-01-03 2014-09-23 International Business Machines Corporation System and method for model-driven dashboard for business performance management
US9047124B2 (en) * 2008-10-14 2015-06-02 Hewlett-Packard Development Company, L.P. Query scheduler
US20130091266A1 (en) * 2011-10-05 2013-04-11 Ajit Bhave System for organizing and fast searching of massive amounts of data
US9183529B2 (en) 2012-08-01 2015-11-10 Oracle International Corporation Business intelligence performance analysis system
US9031980B2 (en) * 2012-10-05 2015-05-12 Dell Products, Lp Metric gathering and reporting system for identifying database performance and throughput problems
US10649424B2 (en) * 2013-03-04 2020-05-12 Fisher-Rosemount Systems, Inc. Distributed industrial performance monitoring and analytics
US10061789B2 (en) * 2013-10-28 2018-08-28 Excalibur Ip, Llc Dynamic database indexes for entity attribute value stores
US9712410B1 (en) * 2014-06-25 2017-07-18 Amazon Technologies, Inc. Local metrics in a service provider environment
US10169147B2 (en) * 2015-10-30 2019-01-01 International Business Machines Corporation End-to-end secure data storage in a dispersed storage network
US10554510B2 (en) 2017-02-22 2020-02-04 Red Hat, Inc. Enabling additional metrics in a monitoring system to diagnose problems
US10970298B1 (en) * 2019-04-30 2021-04-06 Splunk Inc. Control interface for disparate search frequency dispatch for dynamic elements of an asset monitoring and reporting system
US11165664B2 (en) * 2019-08-15 2021-11-02 International Business Machines Corporation Enforcing electronic service contracts between compu'iing devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6886005B2 (en) * 2000-02-17 2005-04-26 E-Numerate Solutions, Inc. RDL search engine
US20020198985A1 (en) * 2001-05-09 2002-12-26 Noam Fraenkel Post-deployment monitoring and analysis of server performance
US7657552B2 (en) * 2003-02-12 2010-02-02 Microsoft Corporation Declarative sequenced report parameterization
US20170019487A1 (en) * 2015-01-31 2017-01-19 Splunk Inc. Automated service discovery in i.t. environments
US20160378552A1 (en) * 2015-06-26 2016-12-29 Amazon Technologies, Inc. Automatic scaling of computing resources using aggregated metrics
US10848402B1 (en) * 2018-10-24 2020-11-24 Thousandeyes, Inc. Application aware device monitoring correlation and visualization

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102620225B1 (en) * 2023-06-27 2024-01-02 쿠팡 주식회사 Method and electronic device for managing data related to service

Also Published As

Publication number Publication date
CA3116373A1 (en) 2021-10-28
US20210334274A1 (en) 2021-10-28
EP3905058A1 (en) 2021-11-03
US11475008B2 (en) 2022-10-18

Similar Documents

Publication Publication Date Title
US10521404B2 (en) Data transformations with metadata
JP6393805B2 (en) Efficient query processing using histograms in the columnar database
US8983895B2 (en) Representation of multiplicities for Docflow reporting
EP3365810B1 (en) System and method for automatic inference of a cube schema from a tabular data for use in a multidimensional database environment
US9244971B1 (en) Data retrieval from heterogeneous storage systems
KR102522274B1 (en) User grouping method, apparatus thereof, computer, computer-readable recording medium and computer program
US20120023586A1 (en) Determining privacy risk for database queries
US20150278315A1 (en) Data fitting selected visualization type
US10810009B2 (en) Visualizations of software project and contributor activity
US11307978B2 (en) Garbage collection for data storage
US8825713B2 (en) BPM system portable across databases
US20230195739A1 (en) Information system with temporal data
US20230004560A1 (en) Systems and methods for monitoring user-defined metrics
Lapura et al. Development of a University Financial Data Warehouse and its Visualization Tool
US20150287050A1 (en) Split testing framework
CN111309712A (en) Optimized task scheduling method, device, equipment and medium based on data warehouse
US11675765B2 (en) Top contributor recommendation for cloud analytics
US20150012481A1 (en) Unified Master Report Generator
JP2017509940A (en) Systems, devices and methods for exchanging and processing data scales and objects
US11069018B2 (en) Systems, methods and machine readable programs for value chain analytics
US11893265B2 (en) Garbage collection for data storage
US20240103998A1 (en) Systems and methods for variant testing at scale
US20230052352A1 (en) Systems and methods for assigning attribution weights to nodes
US20210256028A1 (en) Intelligent and automatic exception handling
US20200160272A1 (en) Human resource capital relocation system

Legal Events

Date Code Title Description
AS Assignment

Owner name: CAPITAL ONE SERVICES, LLC, VIRGINIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TEO, KOON HENG IVAN;SUI, QINGYI;SHAMI, MOHAMMAD;AND OTHERS;SIGNING DATES FROM 20200417 TO 20200425;REEL/FRAME:061044/0871

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION