Skip to content
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
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
---
network:
allowed:
- "*.sentry.io"
- "*.grafana.net"
- "*.datadoghq.com"
- "*.datadoghq.eu"
- "*.ddog-gov.com"
observability:
otlp:
endpoint:
- url: ${{ secrets.GH_AW_OTEL_SENTRY_ENDPOINT }}
headers:
Authorization: ${{ secrets.GH_AW_OTEL_SENTRY_AUTHORIZATION }}
- url: ${{ secrets.GH_AW_OTEL_GRAFANA_ENDPOINT }}
headers:
Authorization: ${{ secrets.GH_AW_OTEL_GRAFANA_AUTHORIZATION }}
- url: ${{ secrets.GH_AW_OTEL_DATADOG_ENDPOINT || format('https://otlp-intake.{0}/v1/traces', secrets.DD_SITE || 'datadoghq.com') }}
headers:
DD-API-KEY: ${{ secrets.GH_AW_OTEL_DATADOG_API_KEY || secrets.DD_API_KEY }}
Expand All @@ -24,9 +16,5 @@ observability:

Consumers of this shared import must provision the following secrets:

- `GH_AW_OTEL_SENTRY_ENDPOINT`
- `GH_AW_OTEL_SENTRY_AUTHORIZATION`
- `GH_AW_OTEL_GRAFANA_ENDPOINT`
- `GH_AW_OTEL_GRAFANA_AUTHORIZATION`
- `GH_AW_OTEL_DATADOG_ENDPOINT` (optional; defaults to `https://otlp-intake.${DD_SITE}/v1/traces`)
- `GH_AW_OTEL_DATADOG_API_KEY` (optional; falls back to `DD_API_KEY`)
18 changes: 18 additions & 0 deletions .github/workflows/shared/grafana.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
network:
allowed:
- "*.grafana.net"
observability:
otlp:
endpoint:
- url: ${{ secrets.GH_AW_OTEL_GRAFANA_ENDPOINT }}
headers:
Authorization: ${{ secrets.GH_AW_OTEL_GRAFANA_AUTHORIZATION }}
---

## Required secrets

Consumers of this shared import must provision the following secrets:

- `GH_AW_OTEL_GRAFANA_ENDPOINT`
- `GH_AW_OTEL_GRAFANA_AUTHORIZATION`
18 changes: 18 additions & 0 deletions .github/workflows/shared/sentry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
network:
allowed:
- "*.sentry.io"
observability:
otlp:
endpoint:
- url: ${{ secrets.GH_AW_OTEL_SENTRY_ENDPOINT }}
headers:
Authorization: ${{ secrets.GH_AW_OTEL_SENTRY_AUTHORIZATION }}
---

## Required secrets

Consumers of this shared import must provision the following secrets:

- `GH_AW_OTEL_SENTRY_ENDPOINT`
- `GH_AW_OTEL_SENTRY_AUTHORIZATION`
36 changes: 20 additions & 16 deletions .github/workflows/smoke-otel-backends.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .github/workflows/smoke-otel-backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ imports:
- shared/mcp/grafana.md
- shared/mcp/sentry.md
- shared/otel-queries.md
- shared/otlp-backends.md
- shared/sentry.md
- shared/grafana.md
- shared/datadog.md
---

# Smoke OTEL
Expand Down
2 changes: 1 addition & 1 deletion pkg/workflow/expression_extraction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ func TestExtractTerminalSubExpressions(t *testing.T) {
want: []string{"steps.foo.outputs.bar"},
},
{
name: "simple expression (no operators) — single qualifying token is returned",
name: "simple expression (no operators) — single qualifying token is returned",
// Note: ExtractExpressions guards the call with !simpleIdentifierRegex,
// so this case never arises in production; but the function is correct regardless.
content: "steps.sanitized.outputs.text",
Expand Down