influxdata / influxdata/docs-v2

Document how to calculate success/error rates from http statuses

Open
#3,237 0 comments 0 reactions 1 assignee View on GitHub

@sanderson is already working on this.

Since Oct 11, 2021.

Flux
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

A useful case would be to show how to calculate the success or error rate of services based on http status codes.

For example, assume we have a measurement like

| _time | service | status |
| ------| ------- |-------|
| t0 | service 1 | 200|
| t1 | service 1 | 200|
| t2 | service 1 | 404|
| t0 | service 2 | 200|
| t1 | service 2 | 200|
| t2 | service 2 | 200|

It would be great to be able to show to how get a result like:

|service | success rate |
|--------| ------------|
|service 1 | 66.67%|
|service 2| 100%|

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.