forked from aws-amplify/amplify-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(repo): review CW metric logging
- Loading branch information
Showing
12 changed files
with
33,150 additions
and
86 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Log CW Metric | ||
description: Logs a metric to Cloudwatch. | ||
inputs: | ||
# For getting failing step | ||
job-status: | ||
description: Used to determine if we track success or failure. | ||
required: true | ||
github-token: | ||
required: true | ||
description: Github token for requesting failing steps. | ||
package-name: | ||
description: The name of the package being tested | ||
required: true | ||
matrix: | ||
description: The matrix of the workflow | ||
required: true | ||
|
||
# Global Metric Dimensions | ||
metric-name: | ||
description: Name of the metric to track in Cloudwatch. | ||
required: true | ||
test-type: | ||
description: canary, integration, unit testType. | ||
required: true | ||
category: | ||
description: analytics, api, authenticator, etc. | ||
required: true | ||
|
||
# FlutterDart Workflows Metric Dimensions | ||
framework: | ||
description: flutter, dart. | ||
required: false | ||
flutter-dart-channel: | ||
description: beta, stable. | ||
required: false | ||
dart-version: | ||
description: 3, 2.19, 2.18, etc. | ||
required: false | ||
flutter-version: | ||
description: 3.10.6, 3.10.5, etc. | ||
required: false | ||
dart-compiler: | ||
description: dart2js, ddc, dart, dart2wasm. | ||
required: false | ||
|
||
# Platform Workflows Metric Dimensions | ||
platform: | ||
description: android, ios, web, linux, windows. | ||
required: false | ||
platform-version: | ||
description: ios-14.5, ios-16, android-25-x86, etc. | ||
required: false | ||
runs: | ||
using: "node16" | ||
main: "dist/index.mjs" |
Oops, something went wrong.