Fabric/Firebase Crashlytics API
Asked Answered
G

2

6

I'm aware that there isn't a Fabric/Crashlytics API that I can use to pull data. I'm wondering if when the move happens to Firebase/Crashlytics will there be some sort of official API that we can use to get crash statistics?

I am trying to create Jiras upon a crash but our jira locally hosted and isn't publicly available so I can't integrate it through the service hooks provided.

Guffey answered 30/10, 2018 at 19:24 Comment(0)
L
1

Mike from Firebase and Fabric here. We support JIRA server instances. However if it is not accessible to us, for example behind a firewall, then we don't have any integrations that will work.

Lisettelisha answered 31/10, 2018 at 16:14 Comment(8)
Hi Mike. Thanks for the reply. Yes, our jira server is behind a firewall and isn't publicly available so this is why I was inquiring about future plans for a Firebase API that we can use to pull Crashlytics data. I looked over the current Firebase API but didn't see any Crashlytics specifics. Thanks again.Guffey
Gotcha, no plans at the moment.Lisettelisha
@MikeBonnell Is there any documentation link about integration with JIRA?Eleonoreleonora
Yep, it's here: support.google.com/firebase/answer/9118259?hl=enLisettelisha
@MikeBonnell Hello! Is it possible to find out ip addresses that firebase use for Jira integration? Our Jira instance is behind a firewall too and we want to add exception rule for firebase addressesNose
No, the IP addresses change too frequently to be reliable to use for this purpose.Lisettelisha
@MikeBonnell is this still the case do you know? No way to get the IP address that Firebase uses in the Jira integration?Petition
@KesWalker I have absolutely no idea. I haven't worked on Firebase for several years. The support team should be able to help with a more recent and relevant answer.Lisettelisha
M
0

The Google Analytics Data API can be used to retrieve the crashAffectedUsers & crashFreeUsersRate. crashAffectedUsers is number of users that logged a crash, and crashFreeUsersRate number of users without crash events divided by the total number of users. The Data API schema page contains more details about these metrics.

An example request to the RunReport method looks like the following:

{
  "dateRanges": [
    {
      "startDate": "7daysAgo",
      "endDate": "today"
    }
  ],
  "dimensions": [
    {
      "name": "date"
    }
  ],
  "metrics": [
    {
      "name": "crashFreeUsersRate"
    },
    {
      "name": "crashAffectedUsers"
    },
    {
      "name": "totalUsers"
    }
  ]
}

An example response row looks like the following. This row means: on 2021-11-13, the crash free users rate was 99.836%, 2 users were affected by crashes, and 1220 total users used your app.

    {
      "dimensionValues": [
        {
          "value": "20211113"
        }
      ],
      "metricValues": [
        {
          "value": "0.99836"
        },
        {
          "value": "2"
        },
        {
          "value": "1220"
        }
      ]
    },
Marco answered 14/11, 2021 at 20:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.