Merged in feature/docGen (pull request #88)
Basic Generate * basicgenerate * basic
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
// This main.go serves as an example of how to use the custom Prometheus metrics package.
|
||||
//
|
||||
// It demonstrates:
|
||||
//
|
||||
// 1. Setting up metrics with proper context handling
|
||||
//
|
||||
// 2. Configuring different types of metrics (Counter, Gauge, Histogram, Summary)
|
||||
//
|
||||
// 3. Recording metrics safely in a concurrent environment
|
||||
//
|
||||
// 4. Implementing graceful shutdown
|
||||
//
|
||||
// 5. Proper error handling
|
||||
package main
|
||||
|
||||
|
||||
Reference in New Issue
Block a user