-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Cody Littley <[email protected]>
- Loading branch information
1 parent
b3a90d1
commit 53fd80d
Showing
11 changed files
with
143 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# EigenDA Metrics Documentation | ||
|
||
- [churner](operators/churner/churner-metrics.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Metrics Documentation for namespace 'eigenda_churner' | ||
|
||
This documentation was automatically generated at time `2024-11-26T14:29:13-06:00` | ||
|
||
There are a total of `2` registered metrics. | ||
|
||
--- | ||
|
||
## latency_ms | ||
|
||
latency summary in milliseconds | ||
|
||
| | | | ||
|---|---| | ||
| **Name** | `latency` | | ||
| **Unit** | `ms` | | ||
| **Labels** | `method` | | ||
| **Type** | `latency` | | ||
| **Quantiles** | `0.500`, `0.900`, `0.950`, `0.990` | | ||
| **Fully Qualified Name** | `eigenda_churner_latency_ms` | | ||
--- | ||
|
||
## request_count | ||
|
||
the number of requests | ||
|
||
| | | | ||
|---|---| | ||
| **Name** | `request` | | ||
| **Unit** | `count` | | ||
| **Labels** | `status`, `method`, `reason` | | ||
| **Type** | `counter` | | ||
| **Fully Qualified Name** | `eigenda_churner_request_count` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package main | ||
|
||
import ( | ||
"github.com/Layr-Labs/eigenda/common" | ||
"github.com/Layr-Labs/eigenda/operators/churner" | ||
) | ||
|
||
// main generates documentation for churner metrics. | ||
func main() { | ||
logger, err := common.NewLogger(common.DefaultLoggerConfig()) | ||
if err != nil { | ||
panic(err) | ||
} | ||
|
||
metrics, err := churner.NewMetrics(0, logger) | ||
if err != nil { | ||
panic(err) | ||
} | ||
|
||
err = metrics.WriteMetricsDocumentation() | ||
if err != nil { | ||
panic(err) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters