Skip to content

How to enable open-telemetry with action #2023

Closed Answered by rbanks54
nioc asked this question in Help and Questions
Discussion options

You must be logged in to vote

I'm not 100% clear on what you're wanting to do, but I'm assuming you're wanting to associate network calls made from within an action and calls to the action itself with some kind of correlation id or other info? I'm also guessing that the standard web instrumentation OpenTelemtry JS library functionality isn't sufficient?

If so, it's worth remembering that Pinia is specifically a state management library and has no knowledge of network calls. Any network calls within an action are because a developer added them, not because of Pinia's capabilities.

You'll need to build your own solution. I'd suggest that during the action you store a correlation id of some kind in a Pinia store, and the…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nioc
Comment options

@nioc
Comment options

@rbanks54
Comment options

@nioc
Comment options

Answer selected by nioc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants