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.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
ACCFAN
  • 91
  • 1
  • 7

2 Answers2

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.

Mike Bonnell
  • 16,181
  • 3
  • 61
  • 77
  • 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. – ACCFAN Nov 01 '18 at 12:58
  • Gotcha, no plans at the moment. – Mike Bonnell Nov 01 '18 at 14:10
  • @MikeBonnell Is there any documentation link about integration with JIRA? – tse Nov 04 '18 at 16:07
  • Yep, it's here: https://support.google.com/firebase/answer/9118259?hl=en – Mike Bonnell Nov 04 '18 at 19:56
  • @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 addresses – nnesterov Jan 15 '19 at 14:01
  • No, the IP addresses change too frequently to be reliable to use for this purpose. – Mike Bonnell Jan 15 '19 at 15:05
  • @MikeBonnell is this still the case do you know? No way to get the IP address that Firebase uses in the Jira integration? – Kes Walker Oct 05 '22 at 14:34
  • @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. – Mike Bonnell Oct 06 '22 at 16:38
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"
        }
      ]
    },
Brett
  • 1,189
  • 4
  • 12