Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EchoBackend: Make EchoSrvTransport batched #70012

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

kpelelis
Copy link
Contributor

What is this feature?

With the update of faro web sdk to 1.1.0, batching was introduced, in which several telemetry signals can be grouped together in a fixed interval or buffer length. The current setup in which the EchoSrvTransport was proxying signals through the Echo Backend was yielding the following issue.

The updated Fetch transport is batched but the way it was being used by the GrafanaJavascriptAgentBackend was pushing single items.

Why do we need this feature?

The current state of the repository is not sending any telemetry signals to Faro.

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@kpelelis kpelelis requested a review from a team as a code owner June 13, 2023 15:05
@kpelelis kpelelis requested review from ashharrison90 and JoaoSilvaGrafana and removed request for a team June 13, 2023 15:05
@CLAassistant
Copy link

CLAassistant commented Jun 13, 2023

CLA assistant check
All committers have signed the CLA.

@kpelelis kpelelis added the no-backport Skip backport of PR label Jun 13, 2023
@kpelelis kpelelis added this to the 10.0.x milestone Jun 13, 2023
@kpelelis kpelelis changed the title Make EchoSrvTransport batched EchoBackend: Make EchoSrvTransport batched Jun 13, 2023
@kpelelis kpelelis requested a review from domasx2 June 13, 2023 15:12
With the update of faro web sdk to 1.1.0, batching was introduced, in
which several telemetry signals can be grouped together in a fixed
interval or buffer length. The current setup in which the
EchoSrvTransport was proxying signals through the Echo Backend was
yielding the following issue.

The updated Fetch transport is batched but the way it was being used by
the `GrafanaJavascriptAgentBackend` was pushing single items.
@kpelelis kpelelis force-pushed the make-echo-srv-transport-batched branch from b278ce4 to 4b47298 Compare June 14, 2023 10:07
@kpelelis kpelelis merged commit 9f065a8 into grafana:main Jun 14, 2023
7 checks passed
@zerok zerok modified the milestones: 10.0.x, 10.0.1, 10.1.x Jun 20, 2023
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants