forked from corentinmusard/otel-cicd-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (32 loc) · 992 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Open Telemetry CI/CD Action
description: Export CI/CD workflows to any endpoint compatible with OpenTelemetry
author: Corentin Musard
runs:
using: node20
main: dist/index.js
inputs:
otlpEndpoint:
description: The destination endpoint to export OpenTelemetry traces to
required: true
otlpHeaders:
description: Network Headers for the destination endpoint to export OpenTelemetry traces to
required: true
otelServiceName:
description: OpenTelemetry service name
required: false
default: ""
githubToken:
description: The repository token with Workflow permissions. i.e. secrets.GITHUB_TOKEN
required: false
runId:
description: Workflow Run ID to Export. Defaults to env.GITHUB_RUN_ID
required: false
extraAttributes:
description: Extra resource attributes to add to each span
required: false
outputs:
traceId:
description: The OpenTelemetry Trace ID of the root span
branding:
icon: bar-chart-2
color: green