Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added PageView telemetry type and tests (#616)
- Loading branch information
1 parent
48c0999
commit 2855952
Showing
8 changed files
with
135 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Declarations/Contracts/TelemetryTypes/PageViewTelemetry.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Telemetry } from "./Telemetry"; | ||
|
||
/** | ||
* Telemetry type used for availability web test results. | ||
*/ | ||
export interface PageViewTelemetry extends Telemetry { | ||
|
||
/** | ||
* Name of the test that these availability results represent. | ||
*/ | ||
name?: string; | ||
|
||
/** | ||
* URL of the page to track. | ||
*/ | ||
url?: string; | ||
|
||
/** | ||
* Request duration in ms | ||
*/ | ||
duration?: number; | ||
|
||
/** | ||
* Metrics associated with this event, displayed in Metrics Explorer on the portal. | ||
*/ | ||
measurements?: { [key: string]: number; }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters