Skip to content

Commit

Permalink
added workflow_url attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
nikordaris committed May 4, 2022
1 parent 8ab0cc5 commit c6f3c55
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ jobs:
| service.version | string | Github Workflow Run HEAD SHA |
| github.workflow_id | integer | Github Workflow ID |
| github.workflow | string | Github Workflow Name |
| github.workflow_url | string | Github Workflow URL |
| github.run_attempt | integer | Github Workflow Run Attempt |
| github.run_id | integer | Github Workflow Run ID |
| github.run_number | integer | Github Workflow Run Number |
Expand Down
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ async function traceWorkflowRunJobs({ provider, workflowRunJobs, }) {
"github.run_number": workflowRunJobs.workflowRun.run_number,
"github.run_attempt": workflowRunJobs.workflowRun.run_attempt || 1,
"github.html_url": workflowRunJobs.workflowRun.html_url,
"github.workflow_url": workflowRunJobs.workflowRun.workflow_url,
"github.event": workflowRunJobs.workflowRun.event,
"github.workflow": workflowRunJobs.workflowRun.name || undefined,
"github.conclusion": workflowRunJobs.workflowRun.conclusion || undefined,
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "otel-export-trace",
"version": "1.5.6",
"version": "1.5.7",
"description": "Github Action to export Open Telemetry traces for Workflow runs",
"main": "lib/index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/tracing/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export async function traceWorkflowRunJobs({
"github.run_number": workflowRunJobs.workflowRun.run_number,
"github.run_attempt": workflowRunJobs.workflowRun.run_attempt || 1,
"github.html_url": workflowRunJobs.workflowRun.html_url,
"github.workflow_url": workflowRunJobs.workflowRun.workflow_url,
"github.event": workflowRunJobs.workflowRun.event,
"github.workflow": workflowRunJobs.workflowRun.name || undefined,
"github.conclusion":
Expand Down

0 comments on commit c6f3c55

Please sign in to comment.