Add option to InfluxWriter to submit null records to InfluxDB after a timeout

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start in the InfluxWriter class and trace how it currently sends records to InfluxDB, then find where a background timer could fire a null record after a quiet period. The issue fixes a 30-second default and a custom timeout, sends once by default, and offers a repeat option, but it does not define how repeat should behave, so confirm the intended semantics with the maintainers first. Done means a configurable timeout that emits a null record, with the default single send and optional repeat covered by tests.

Written by the indexing model from the issue text.

Description

enhancement good first issue help wanted

Add option to InfluxWriter to submit null records to InfluxDB after a timeout

  • This is useful for setting up Influx to detect when actual data stops flowing.
  • The default timeout should be 30 seconds
  • There should be the option to set a custom timeout (i.e. timeout=30)
  • The default behavior should be to send the message to InfluxDB once
  • There should be and option to send the message repeatedly (i.e. repeat=True).
Dominant language
Python
Stars
57
Forks
30
Avg merge
3h 14m
Merged PRs (30d)
56

Getting set up

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.

More from OceanDataTools/openrvdas

All issues in OceanDataTools/openrvdas

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.