influxdata / influxdata/influxdb-client-csharp

Add ability to pass in offset time when creating alerts via API

Open
#580 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
377
Forks
93
Avg merge
9m
Merged PRs (30d)
2

Description

__Proposal:__
Add offset to CreateThresholdCheckAsync and CreateDeadmanCheckAsync for alerting

__Current behavior:__
Unable to set offset time when using CreateThresholdCheckAsync and CreateDeadmanCheckAsync methods

__Desired behavior:__
Pass in optional offset time with functions

__Alternatives considered:__
Manually create alerts

__Use case:__
Ease of development and cleaner solution

Contributor guide

No contributing guide indexed for this repository

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 by locating CreateThresholdCheckAsync and CreateDeadmanCheckAsync in the C# client and read how their current arguments are converted into alert API requests. Verify the relevant request models or tests, if present, and consider the work complete when both methods accept an optional offset time and the behavior is covered by appropriate checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.