grafana / grafana/faro-react-native-sdk

Passing FetchTransport in transport disable calls to collector

Open
#52 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
4
Avg merge
1d 18h
Merged PRs (30d)
9

Description

I am trying to send a custom header to my collector. This header is required for some reason I can not disclose here. However, using `FetchTransport` in `transports` simply stop sending requests to collector. Here is my set up

```
transports: [
new FetchTransport({
url: 'https://my-domain-com/collect',
requestOptions: {
headers: {
'my-custom-header': '16a7af77696199f3dc47a2ae4107d2b5',
},
},
}),
],
```

Not sure what is wrong? For now I am going to fork the repo and get it out.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.