We would like to send a user agent with federated API requests that includes the local Wikibase URI. The reasons for this are twofold:
# From a technical standpoint, even if we don't gather metrics from these user agents, we will still want to send them with the federation requests by default (e.g. so that traffic can be filtered if necessary)
# We want to know how many Wikibases have opted in to reusing Wikidata's properties so that we can monitor the demands this might put on WD infrastructure in the future
**Open Questions**
Confirm what level of usage tracking is likely to be accepted by the community prior to implementing.
**Initial Estimation**
- For sending the user agent: 3 SPs
- For also metrics tracking (setting up grafana board using the "new" way (Reportupdater): 8 SPs
**Technical Notes**
There is a `GenericActionApiClient` that sends all outgoing requests to the source wiki. It uses MediaWiki's `HttpRequestFactory::create` to create requests, which takes an `$options` array, which may contain a `userAgent` field.