# US 2021/0173761 A1 · Telemetry system extension

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173761 A1
- Document ID: US20210173761A1
- Status: Published application
- Kind: A1
- Application number: 17/183,229
- Filed: 2021-02-23
- Published: 2021-06-10
- Earliest claimed: 2015-10-16
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Amy M. Lewis; Ravi C. Shahani; Mahmood G. Qadir; Wojtek Kozaczynski; Brian R. Crawford; William M. Zintel; George Joy; Brian P. Ellis; Ken Ming-Kin Yip; Vitaliy Titov; Mark E. Russinovich; James O. Todd; Vito J. Sabella; Christopher M. Lang; Jonathan K. Johnson
- Web page: https://patentgrep.com/patent/US20210173761A1

## CPC

- G06F 11/3644: {by instrumenting at runtime}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3072: {where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting}
- G06F 11/3082: {the data filtering being achieved by aggregating or compressing the monitored data}
- G06F 2201/86: Event-based monitoring
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of operating a telemetry system includes automatically populating a base field of a schema in an event definition using a logging library of the telemetry system for an event of an instrumented application, and automatically populating a conditional field of the schema in the event definition using the logging library in response to a selected condition for the event.

## Claims

### Claim 1

A method of operating a telemetry system to collect telemetry data of an instrumented application, the method comprising:
implementing an event ingestion pipeline to shuttle events through multiple components of the telemetry system;
determining quality of the event ingestion pipeline by ingesting telemetry data to a schema in an event definition;
automatically populating a base field with telemetry data using a filter declared in a logging library of the telemetry system for an event of the instrumented application, the base field of the schema;
automatically populating conditional fields with telemetry data using a second filter in the logging library in response to selected conditions for the event, the conditional fields of the schema; and
providing events in the event ingestion pipeline to real-time systems or batch processing systems in a format to allow analytical applications to query for telemetry data according to the telemetry data in the base field and the conditional fields.

### Claim 2 (depends on 1)

The method of claim 1 wherein the base field is automatically populated with data in all events of the instrumented application.

### Claim 3 (depends on 2)

The method of claim 2 wherein the data common to all events includes client system data.

### Claim 4 (depends on 1)

The method of claim 1 wherein at least one of the conditional fields is automatically populated with data related to an application environment condition.

### Claim 5 (depends on 4)

The method of claim 4 wherein the application environment condition includes application platform, operating system, or cloud environment.

### Claim 6 (depends on 4)

The method of claim 4 wherein the at least one of the conditional fields is populated with data in all events of the application environment condition.

### Claim 7 (depends on 1)

The method of claim 1 wherein at least one of the conditional fields is automatically populated with data related to an application usage condition.

### Claim 8

A method of operating a telemetry system, the method comprising:
implementing an event ingestion pipeline to shuttle events through multiple components of the telemetry system;
determining quality of the event ingestion pipeline by ingesting telemetry data to a first schema in an event definition;
automatically populating base fields with telemetry data using a filter declared in a logging library of the telemetry system for an event, the base fields of the first schema;
automatically populating conditional fields with telemetry data using a second filter in the logging library in response to a selected condition for the event, the conditional fields of the first schema; and
providing events in the event ingestion pipeline to real-time systems or batch processing systems in a format to allow analytical applications to query for telemetry data according to the telemetry data in the base field and the conditional fields.

### Claim 9 (depends on 8)

The method of claim 8 comprising:
populating fields with telemetry data selected by an event author, the fields in a second schema, the fields in the second schema including preselected fields from the telemetry system.

### Claim 10 (depends on 9)

The method of claim 9 wherein the preselected fields are populated with data common to a plurality of applications.

### Claim 11 (depends on 9)

The method of claim 9 wherein the preselected fields include a predefined name and data type.

### Claim 12 (depends on 8)

The method of claim 8 comprising:
populating fields with telemetry data selected by an event author, the fields in a second schema, the fields in the second schema including custom fields from the event author.

### Claim 13 (depends on 12)

The method of claim 12 wherein the custom fields include custom name and custom data type.

### Claim 14 (depends on 8)

The method of claim 8 wherein the first set of fields in the schema includes an event envelope semantic and an ingest section.

### Claim 15 (depends on 8)

The method of claim 8 wherein a field of the conditional fields is automatically populated with data related to an application environment condition.

### Claim 16 (depends on 15)

The method of claim 15 wherein another field of the conditional fields is automatically populated with data related to an application usage condition.

### Claim 17 (depends on 15)

The method of claim 15 wherein the logging library includes a code library corresponding with a platform of the instrumented application.

### Claim 18

A telemetry system, comprising:
a computing device including a processor and a memory configured to:
implement an event ingestion pipeline to shuttle events through multiple components of the telemetry system;
determine quality of the event ingestion pipeline by ingesting telemetry data to a schema in an event definition;
automatically populate a base field with telemetry data using a filter declared in a logging library of the telemetry system for an event of an instrumented application, the base field of the schema;
automatically populate conditional fields with telemetry data using a second filter in the logging library in response to a selected condition for the event, the conditional fields of the schema; and
provide events in the event ingestion pipeline to real-time systems or batch processing systems in a format to allow analytical applications to query for telemetry data according to the telemetry data in the base field and the conditional fields.

### Claim 19 (depends on 18)

The telemetry system of claim 18 wherein the base field is automatically populated with data in all events of the instrumented application.

### Claim 20 (depends on 18)

The telemetry system of claim 18 wherein at least one of the conditional fields is automatically populated with data related to an application environment condition.
