Skip to main content

Enhancing Identity Workflow Observability with Didit and OpenTelemetry

Achieve unparalleled visibility into your identity verification processes by integrating Didit's powerful platform with OpenTelemetry. This guide explores how distributed tracing, metrics, and logs provide real-time insights.

Enhancing Identity Workflow Observability with Didit and OpenTelemetry

Contents

In this guide

Jump to the part you need.

End-to-End VisibilityOpenTelemetry provides a standardized way to instrument and collect telemetry data (traces, metrics, logs) across your entire identity verification workflow, from user initiation to final decision.

Proactive Issue ResolutionBy integrating Didit's verification events into your OpenTelemetry pipeline, you can quickly identify bottlenecks, errors, and performance anomalies, enabling rapid diagnosis and resolution.

Optimized User ExperienceDetailed observability allows you to understand user journeys through verification, pinpointing areas of friction and optimizing the flow for better conversion and satisfaction.

Seamless Integration with DiditDidit's developer-first approach and clean APIs make it straightforward to emit rich telemetry data, ensuring that every step of the identity verification process is transparent and auditable within your OpenTelemetry setup.

The Critical Need for Observability in Identity Workflows

In today's digital landscape, robust identity verification is paramount for security, compliance, and preventing fraud. However, managing complex identity workflows, especially those involving multiple services and third-party providers like identity verification platforms, can be challenging. Without proper visibility, pinpointing issues, optimizing performance, and understanding user behavior becomes a guessing game. This is where observability, powered by tools like OpenTelemetry, becomes indispensable.

Observability goes beyond simple monitoring; it's about understanding the internal state of a system by examining the data it generates. For identity workflows, this means having a clear, unified view of every step a user takes, every API call made, and every decision rendered. From initiating an ID Verification session with Didit to the final AML Screening check, every event holds valuable diagnostic and performance data.

Integrating a powerful identity platform like Didit with an open-source observability framework like OpenTelemetry offers a comprehensive solution. OpenTelemetry provides a set of APIs, SDKs, and tools to instrument, generate, collect, and export telemetry data (traces, metrics, and logs) to a backend of your choice, ensuring vendor neutrality and flexibility. This allows businesses to gain deep insights into the health, performance, and user experience of their identity verification processes.

Leveraging OpenTelemetry for Distributed Tracing in Didit Workflows

One of the most powerful features OpenTelemetry brings to identity workflows is distributed tracing. Identity verification often involves a series of interconnected steps, such as a user submitting an ID document, Didit's ID Verification engine processing it, performing Passive & Active Liveness checks, a 1:1 Face Match, and then potentially an AML Screening. Each of these steps might involve multiple microservices and external API calls.

Distributed tracing allows you to visualize the entire request flow as a single trace, breaking it down into individual spans. Each span represents an operation, such as an API call to Didit's session creation endpoint, the processing time for an OCR scan, or the duration of a compliance check. By instrumenting your application to propagate trace context to Didit API calls, you can seamlessly link your internal application's operations with the operations performed by Didit.

For example, when your application calls Didit's API to create a verification session, you can include the current trace context. Didit's API response will then return relevant session IDs and statuses that can be used to enrich subsequent spans in your trace. This provides an end-to-end view, helping you quickly identify where latency is introduced or where errors occur in the user's journey, whether it's on your side or within the third-party verification process. This level of detail is crucial for optimizing workflows and ensuring a smooth user experience.

Collecting Metrics and Logs for Deeper Insights

Beyond tracing, OpenTelemetry also standardizes the collection of metrics and logs, which are vital for a holistic view of your identity workflows. Metrics provide aggregatable data points over time, such as the number of successful ID Verification checks per minute, the average time taken for a Liveness Detection check, or the error rate for AML Screening. By tracking these metrics, you can monitor the overall health and performance of your identity system and set up alerts for deviations.

For instance, you might track:

  • The success rate of ID Verification and Passive & Active Liveness attempts.
  • Latency for 1:1 Face Match operations.
  • The number of users requiring manual review after an AML Screening.
  • The volume of NFC Verification requests.

Logs, on the other hand, provide detailed, discrete events that occur within your system. When integrating with Didit, your application can log key events related to the verification process, such as session creation, webhook notifications for verification results, and any errors encountered. By ingesting these logs into an OpenTelemetry-compatible logging solution, and correlating them with traces and metrics, you gain a powerful debugging tool. For example, if a metric shows a spike in failed verification attempts, you can dive into the logs and traces for that period to understand the root cause, perhaps an issue with a specific document type or a network transient error during a Phone & Email Verification.

How Didit Helps Achieve Unparalleled Observability

Didit is designed with observability in mind, making it an ideal partner for OpenTelemetry integration. Our developer-first approach, featuring clean APIs and comprehensive documentation, simplifies the process of integrating your identity workflows into an OpenTelemetry pipeline. Didit's modular architecture means you can easily instrument specific components, whether you're using ID Verification, Passive & Active Liveness, 1:1 Face Match, AML Screening & Monitoring, Proof of Address, or Age Estimation.

Didit's platform provides rich data outputs, including detailed verification results, status updates, and unique session identifiers. These can be seamlessly incorporated into your OpenTelemetry traces, metrics, and logs. For example, when you create a session via Didit's API, the session_id and vendor_data (your internal user identifier) can be added as attributes to your OpenTelemetry spans, allowing you to trace the user's journey through Didit's system and back to your application.

Furthermore, Didit's webhook system allows you to receive real-time updates on the status of verification sessions. Each webhook notification can trigger the generation of new spans or log entries in your OpenTelemetry system, providing a complete audit trail and immediate insights into verification outcomes. This proactive approach to data generation, combined with OpenTelemetry's standardized collection, ensures you have the granular visibility needed to optimize performance, enhance security, and deliver an exceptional user experience.

With Didit's Core KYC on pay-per-use pricing, businesses can start building robust, observable identity workflows without upfront costs, proving the value of this integrated approach before scaling. Our AI-native platform ensures that the data you receive is structured and actionable, further enhancing the power of your observability tools.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.