imjasonh/GCP Metrics Exporter
Collects GitHub Actions workflow metrics and traces, and exports them to Google Cloud Monitoring and Cloud Trace
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for API access | yes | — |
| gcp-project-id | Google Cloud Project ID where metrics will be exported (defaults to project from service account key) | no | — |
| gcp-service-account-key-file | Path to Google Cloud service account key JSON file | no | — |
| service-name | Service name for OpenTelemetry resource attributes | no | github-actions |
| service-namespace | Service namespace for OpenTelemetry resource attributes | no | ci |
| metric-prefix | Prefix for metric names | no | github.actions |
| fail-on-error | Fail the workflow if metrics/traces export fails (default: false) | no | false |
| attributes | Additional custom attributes to add to metrics and traces (YAML format: key: value) | no | — |
Outputs
| name | description |
|---|---|
| traceparent | W3C Trace Context (TRACEPARENT) for creating child spans in subsequent steps |
| trace-id | OpenTelemetry Trace ID |
| span-id | Root span ID for this job |