Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(repo): Updated CW Metrics #3741

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/composite_actions/log_cw_metric/action.yaml
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"
Loading
Loading