Forum Discussion

gdavid16's avatar
gdavid16
Icon for Neophyte rankNeophyte
10 days ago

LM APM - Traces - HTTP Post from Powershell Scripts

LM APM - Traces - HTTP Post from Powershell Scripts

i'm trying to work out the details of an HTTP post to create an APM trace entry in LM APM to keep track of our production scripts via traces / spans. 

generally this is not the standard use case, but i'm curious how well it tracks the execution timing of the scripts and all the sub components. 

i found the trace json format for a http request 

https://github.com/open-telemetry/opentelemetry-proto/blob/v1.4.0/examples/trace.json

another 3rd party example: 
Send a Test Span Through an OpenTelemetry Collector | Honeycomb

i have a custom ps object that mirrors the json format, right now when i post to LM using this info: 

Trace Data Forwarding without an OpenTelemetry Collector | LogicMonitor

i get authentication errors, and I'm assuming because the info is outdated. 

 

No RepliesBe the first to reply