simonsobs / simonsobs/ocs

influxdb: Make clear which agent published invalid timestamps

Open
#475 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

As raised here, we should make it so that if a timestamp that overflows is published to the InfluxDB publisher, the logs indicate which agent the timestamp came from.

We might also consider validating the timestamp on the agent end when publishing, like we do for field names, etc. See the discussion in #466.

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 with the InfluxDB publisher and the agent-side publishing path, then read the discussion in #466 for the timestamp overflow context. Trace how invalid timestamps are logged and make the originating agent identifiable; if pursuing the optional validation, compare it with existing field-name validation. Done means the logs identify the agent for an overflowing timestamp.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.