---
title: Integrate External Ops Tools
---


### Why LLMOps Tools Are Necessary

While LLMs (Large Language Models) possess exceptional reasoning and text generation capabilities, their internal workings are still not fully understood, presenting challenges for developing LLM-based applications. For instance:

* Evaluating output **quality**
* Assessing inference **costs**
* Measuring model response **latency**
* **Debugging complexity** introduced by chain calls, agents, and tools
* Understanding complex user intents

Tools like LangSmith and Langfuse, known as LLMOps tools, provide comprehensive tracking and deep evaluation capabilities for LLM applications, offering developers complete lifecycle support from prototyping to production and operations.

* #### Prototyping Phase

In the prototyping phase, LLM applications typically involve rapid experimentation with prompt testing, model selection, RAG (Retrieval-Augmented Generation) strategies, and other parameter combinations. Quickly understanding the model's execution performance is crucial in this stage. Integrating Langfuse allows tracking of every step of Dify application execution, providing clear visibility and debugging information, enabling developers to quickly pinpoint issues and reduce debugging time.

* **Testing Phase**

In the testing phase, data collection continues to improve and enhance performance. LangSmith can add runs as examples to the dataset, extending test coverage to real-world scenarios. This is a key advantage of having logging and evaluation/testing systems on the same platform.

* #### Production Phase

In the production environment, development teams need to carefully monitor key data points, add benchmark datasets, perform manual annotations, and deeply analyze operational results. Especially during large-scale application usage, operations and data teams must continuously monitor application costs and performance, optimizing both the model and application performance.

### Integrating Dify with Ops Tools

When using Dify Workflow to orchestrate LLM applications, it typically involves a series of nodes and logic with high complexity.

Integrating Dify with external Ops tools helps to break the "black box" issue often faced in application orchestration. Developers can simply configure the platform to track data and metrics throughout the application lifecycle, easily assessing the quality, performance, and cost of LLM applications created on Dify.

{/*
Contributing Section
DO NOT edit this section!
It will be automatically generated by the script.
*/}

---

[Edit this page](https://github.com/langgenius/dify-docs/edit/main/en/guides/monitoring/integrate-external-ops-tools/README.mdx) | [Report an issue](https://github.com/langgenius/dify-docs/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs%2Fblob%2Fmain%2Fen/guides/monitoring/integrate-external-ops-tools%2FREADME.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E)

