Skip to content

Adds Telemetry Tesla Midleware to SOAP Client and IPN Client - #247

Open
RicardoMurad wants to merge 3 commits into
peek-travel:masterfrom
RicardoMurad:feature/add-metrics
Open

Adds Telemetry Tesla Midleware to SOAP Client and IPN Client#247
RicardoMurad wants to merge 3 commits into
peek-travel:masterfrom
RicardoMurad:feature/add-metrics

Conversation

@RicardoMurad

@RicardoMurad RicardoMurad commented Aug 30, 2022

Copy link
Copy Markdown
Contributor

Plug a Tesla Telemetry Middleware to Tipalti.API.SOAP.Client and Tipalti.IPN.Client to emit request response metrics.

An example of how to start collecting emitted events:

:telemetry.attach(
  "tipalti-client-telemetry",
  [:tesla, :request, :stop],
  fn event, measurements, meta, config ->
    # Do something with the event
  end,
  nil
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant