superfaceai / one-sdk-js

1️⃣ One Node.js SDK for all the APIs you want to integrate with
https://superface.ai
MIT License
46 stars 3 forks source link

Metrics reporting without super.json #268

Closed freaz closed 2 years ago

freaz commented 2 years ago

Description

Setting up metrics reporting without super.json and changing super.json to be uptional for MetricReporter instance.

Client will skip SDKInit event reporting if super.json is not present.

This requires changes in backend services, which are done in https://github.com/superfaceai/brain/pull/434

Motivation and Context

We want reporting of performs even without super.json. But SDKInit doesn't need to be send as it doesn't have any value.

Types of changes

Checklist: