simonsobs / simonsobs/ocs

Add estimated data rate to InfluxDBPublisherAgent

Open
#302 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

agent: influxdb enhancement
Dominant language
Python
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

After seeing recent issues with InfluxDB keeping up with published data, it would be useful to have some estimate of how much data is being published to InfluxDB.

This could be published to a feed and recorded for display in Grafana, however the Agent can't subscribe to its own feeds. One way around this would be to just directly insert the data into the queue that published data is recorded to. Some of the info passed here will need to be "made up" in a sense, as it won't actually be a real feed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the InfluxDBPublisherAgent entry point and trace how published data reaches the recording queue. Determine how to estimate the data rate and represent the synthetic feed information for Grafana, then verify that the estimate is inserted into the queue and can be recorded for display.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.