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

Consider adding observability to buttplugs (or other devices, etc) #503

Closed
grafana-dee opened this issue Nov 11, 2022 · 3 comments
Closed
Assignees
Labels
Features New things to add to the project

Comments

@grafana-dee
Copy link

Feature Description

For those running something like a local Prometheus, it would be good to be able to have metrics generated.

The devices themselves don't possess such exporters, but perhaps the closest we could get is simple metrics from buttplug... this would at least export metrics of power_state where the labels would indicate the device type, device name, and the value the power state. But it could also include metrics for vibration power (or %), and so forth.

The purpose would be for people to have a local and private record of what their historical sessions included, the devices, levels and intensities.

@grafana-dee grafana-dee added the Features New things to add to the project label Nov 11, 2022
@qdot
Copy link
Member

qdot commented Nov 11, 2022

Wow it's like you read my mind.

I am actually, seriously implementing the basis for this as we speak. If you watch the commits on the dev branch, there's a lot of work happening for "Server device access". This will be for exporting real time status updates of devices to our new Intiface Central application for histogramming there. Hadn't planned on prom metrics output but I work with pretty heavily with grafana stacks elsewhere so that could be an option.

@grafana-dee
Copy link
Author

It's the Grafana view... can I imagine a wall mounted display showing Grafana in a dungeon? I mean... why not?

But yeah, if all actions are logged, and all devices and their state have metrics... then that's pretty neat.

@qdot
Copy link
Member

qdot commented Jun 19, 2024

We have the hooks available for this throughout the server level now, if someone really wants to implement opentelemetry within intiface engine or intiface central, they probably could. This isn't really applicable to the base library tho, so closing.

@qdot qdot closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Features New things to add to the project
Projects
None yet
Development

No branches or pull requests

2 participants