influxdata / influxdata/telegraf

SQL Server plugin - Add metrics for database state

Open
#7,149 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/sqlserver feat help wanted size/m
Dominant language
Go
Stars
17.8k
Forks
5.8k
Avg merge
1d 20h
Merged PRs (30d)
161

Description

## Feature Request

Right now SQL Server plugin exposes only a total number of databases in pending/recovery/restoring/etc state. It would be nice to have a metric that reflects per-database state
### Proposal:
Add metric that reflects state of each database (i.e online/offline/pending/etc)

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 by locating the SQL Server plugin and the existing metric that counts databases by state. Determine how per-database state should be represented for online, offline, pending, recovery, and restoring states. Done means the plugin exposes a state metric for each database and the related tests or metric output verify it.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
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.