-
It takes over minutes to load data with over 70MB on monitor tab Is there any approach to config the ui page data of Operations metrics? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Hello, @laggage! I'm here to help you with any bugs, questions, or contributions. Let's work together to solve this issue. To address performance issues with the Monitor tab in the Jaeger UI, especially when dealing with large data sets, you might consider the following approaches:
These steps can help improve the performance of the Monitor tab when dealing with large data volumes. |
Beta Was this translation helpful? Give feedback.
-
How many operations do you have in one service? |
Beta Was this translation helpful? Give feedback.
-
About 8000 operations |
Beta Was this translation helpful? Give feedback.
-
Some operations are just Virus, is there a way i can filter out the operation that only start with |
Beta Was this translation helpful? Give feedback.
-
The way to handle this is to use Otel collector to filter out the data which is not relevant (or possibly whitelist the things which are relevant). https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/filterprocessor/README.md From perplexity.... to filter out specific spans with OpenTelemetry (OTel), you can use the filter processor in the OpenTelemetry Collector. Here are some methods to achieve this: Using the Filter ProcessorThe filter processor allows you to drop spans based on various criteria. It utilizes the OpenTelemetry Transformation Language (OTTL) to define conditions for filtering. Basic FilteringTo filter out specific spans, you can use the following configuration: processors:
filter/ottl:
error_mode: ignore
traces:
span:
- 'attributes["http.method"] == "GET"'
- 'resource.attributes["service.name"] == "my-service"' This configuration will drop spans that match either of the conditions:
Filtering Based on Span NameTo filter spans based on their names: processors:
filter/ottl:
error_mode: ignore
traces:
span:
- 'name == "unwanted-span-name"' This will drop spans with the name "unwanted-span-name"[1] Filtering Using Regular ExpressionsYou can use regular expressions for more flexible filtering: processors:
filter/ottl:
error_mode: ignore
traces:
span:
- 'IsMatch(name, "^/api/v1/.*")' This configuration drops spans whose names start with "/api/v1/"[3] Filtering Root SpansTo filter only root spans: processors:
filter/ottl:
error_mode: ignore
traces:
span:
- 'IsRootSpan() == true' This will only drop root spans that match the condition[4] Advanced FilteringFor more complex scenarios, you can combine multiple conditions: processors:
filter/ottl:
error_mode: ignore
traces:
span:
- 'IsRootSpan() == true and attributes["http.method"] == "POST" and resource.attributes["service.name"] == "order-processing"' This configuration drops root spans from the "order-processing" service that represent POST requests[4] Considerations
By using these filtering techniques, you can effectively control which spans are processed and forwarded by the OpenTelemetry Collector, allowing you to focus on the most relevant data for your observability needs. Citations: |
Beta Was this translation helpful? Give feedback.
The way to handle this is to use Otel collector to filter out the data which is not relevant (or possibly whitelist the things which are relevant). https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/filterprocessor/README.md
From perplexity.... to filter out specific spans with OpenTelemetry (OTel), you can use the filter processor in the OpenTelemetry Collector. Here are some methods to achieve this:
Using the Filter Processor
The filter processor allows you to drop spans based on various criteria. It utilizes the OpenTelemetry Transformation Language (OTTL) to define conditions for filtering.
Basic Filtering
To filter out specific spans, you can use th…