influxdata / influxdata/kapacitor

compare to static data

Open
#1,247 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs more info
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Hey guys,

I have two measurements, one with static data and one with data that gets updated every minute.
I would like to compare the recent data to the static data and do a math operation on them.

For example:
Static measurement has one field and one tag
Tag: Hostname=A
Field: Value=10
Tag: Hostname=B
Field: Value=5

In the measurement that gets updated every minute I have.
Tag: Hostname=A
Field: Value2=9
Tag: Hostname=B
Field: Value2=4

I would like to use a math operator when Hostnames are the same do Value-Value2 or check if Value == Value2.

Thank you.

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

The issue names no files, tests, or entry points. First clarify whether Kapacitor should support joining static and updated measurements by the Hostname tag, then identify the relevant processing entry point and tests; completion would require a documented comparison behavior and coverage for both example hosts.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.