Search code examples
androidfirebasefirebase-performance

Firebase Performance Detailed URL Patterns


I am not able to view detailed URL Patterns in Firebase Performance Monitoring even after the API having >30k samples in the past few months.

It just shows the root API domain like this:

api.myAppName.in/**

instead of something like

api.myAppName.in/app/v3/user/*/profile/

The console just shows a label "uncategorized" on the API with this message if you hover it

Detailed URL patterns from api.myAppName.in will appear as we collect a larger number of samples. Allow for up to 24 hours after collection.

But as mentioned earlier, it's been a few months and more than 30k samples.

I'm using retrofit, if that helps.


Solution

  • Firebase Performance Monitoring now supports creating custom URL patterns that allow you to target more specific URLs. From the docs:

    You can create custom URL patterns to monitor specific URL patterns that Firebase isn't capturing with its derived automatic URL pattern matching. For example, you can use a custom URL pattern to troubleshoot a specific URL or to monitor a specific set of URLs over time.

    So if you did want to capture something like api.myAppName.in/app/v3/user/*/profile/**, you would now be able to 😃

    See the docs for more details.