Skip to content
cdhuntPublic

About

PowerShell module for collecting and sending Open Telemetry

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

85 Commits

Folders and files

Repository files navigation

potel

PowerShell module for collecting and sending Open Telemetry

CI Status

PowerShell

Install

powershellgallery.com/packages/potel

Install-Module -Name potel or Install-PSResource -Name potel

Docs

Full Docs

Getting Started

Auto-instrument HttpClient calls within the current PowerShell session and send traces to HoneyComb.io and the console.

New-TracerProviderBuilder |
    Add-TracerSource -Name "potel" |
    Add-ResourceConfiguration -ServiceName $ExecutionContext.Host.Name -Attribute @{"host.name" = $(hostname)} |
    Add-HttpClientInstrumentation |
    Add-ExporterOtlpTrace -Endpoint https://api.honeycomb.io:443 -Headers @{'x-honeycomb-team'='abc123'} |
    Add-ExporterConsole |
    Start-Tracer

See the sample module for a walkthrough of how to instrument your own module.

About

PowerShell module for collecting and sending Open Telemetry

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages