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

Idiomatic way to implement a desktop app heartbeat #199

Open
riverar opened this issue Jul 20, 2023 · 5 comments
Open

Idiomatic way to implement a desktop app heartbeat #199

riverar opened this issue Jul 20, 2023 · 5 comments
Assignees

Comments

@riverar
Copy link

riverar commented Jul 20, 2023

Previously asked at https://github.com/open-telemetry/community/discussions/1598

Is there a documented pattern or generally accepted method of implementing a heartbeat in a desktop application? That is, a periodic message send to a collector for the purpose of determining an active session count? Or perhaps a general pattern of reporting back Boolean states?

I was going down the path of using a Counter with a 0|1 value and just letting that contact a Collector periodically, but wanted to double-check.

My notes thus far:

Prior art:

@jsuereth
Copy link
Contributor

We're looking at kicking off a working group around self-observability of our SDKs/APIs. I think a general health check / heartbeat recommendations should go along with that.

WDYT @carlosalberto @yurishkuro ? cc @reyang

@yurishkuro
Copy link
Member

Not seeing a strong motivation for SDK heartbeat. If SDK produces a metric indicating how much data it exports, that is equivalent to a heartbeat.

On the other hand, this issue seems to be about the application's heartbeat, not the SDKs. Either way, the motivation is not clear to me. I am assuming this is all independent of a health check endpoint an application may provide.

@jsuereth
Copy link
Contributor

My question was whether, as part of SDK self-o11y health, we provide general health metric support.

@github-actions github-actions bot added the Stale label Feb 16, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
@joaopgrassi joaopgrassi removed the Stale label Feb 26, 2024
@joaopgrassi
Copy link
Member

This was closed by mistake by the stale bot. Re-opening

@joaopgrassi joaopgrassi reopened this Feb 26, 2024
@decko
Copy link

decko commented Apr 5, 2024

There is some place where the discussion about this feature is happening right now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants