Using the request path doesn’t work either because, with path parameters, each request is detected as a different path.
Now, I’m trying to use the StatisticsCollector policy to capture the environment variables current.flow.name or current.flow.description by placing the policy inside each flow, but the values always appear empty.
As a workaround, I’m creating an AssignMessage policy to generate a custom variable custom.flow.name, but I haven’t found a way to dynamically pass the flow name as a parameter.
This is just an example of what I need for this last idea, I know it doesn’t work this way.
That should generate it per path within the proxy. If you want you can add another dimension with “Proxy” so that it filters through against each proxy
Thank you for your response! However, using “Proxy Path Suffix” in my case yields the same result as using “Request Path.” Since I have a path parameter for the license plate, each plate is distinguished separately rather than by “Flow Name.”
@svargasm - I was able to reproduce your issue and find a solution for it.
For each conditional flow, you will need to create a Stat Collector policy. I tried using a variable but it wasnt working since it has a special character. This is what I did. I created 3 different Stat Collector policy (one for lines, brands and vehicle)
This create a custom dimension called “customPath”. I then created a Custom report with “customPath” as the first dimension and then Proxy Path suffix as 2nd. After a few mins, the graph showed up the way you asked.
Not elegant but works for your use case. Apigee considers anything in the Path as part of the URI, so it considers each as separate records for the GET APIs as they are unique path parameters.