Use OpenPipeline to measure important parts of your application code and analyze outliers. For example, you can capture response times for a specific method and visualize the resulting data as a histogram to identify unusually slow executions.
To measure an important code path with a sampling-aware histogram metric:
Go to Distributed Tracing and identify the method name that you want to measure.

Go to
Settings > Process and contextualize > OpenPipeline > Spans.
Select Pipelines and choose the pipeline you want to use or create a new pipeline (:PlusIcon: Pipeline).
Select Metric extraction > Processor > Sampling Aware Histogram Metric.
Define the processor:
my-span-histogram-metric.span.name == "GetProduct".Select Save and close.
Make sure data is routed to the pipeline.
You created a new pipeline that extracts sampling aware histogram metrics from spans with the name GetProduct. You can now analyze data with your new metric.
Notebooks.my-span-histogram-metric).