krzko / opentelemetry-shell

🚦 OpenTelemetry functions for shells
Apache License 2.0
66 stars 6 forks source link

Create opentelemetry-shell-action #42

Open krzko opened 2 years ago

krzko commented 2 years ago

Is your feature request related to a problem?

To allow for seamless tracing to take place it would be nice to allow traces to take place behind the scenes, without too much user interaction ala the Jenkins OTEL plugin.

Describe the solution you'd like

name: otel-sh-action-example
on: [push]
jobs:
  awesome-job:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: krzko/opentelemetry-shell-action@v1
        with:
          otlp-exporter-otel-endpoint: 'https://otel.awesomedomain.com:443'
      - run: docker ...
      - run: gcloud ...

Describe alternatives you've considered

-

Additional context

-