Up version of diagnostics protocol ()

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
This commit is contained in:
ledgerwatch 2023-06-02 12:08:53 +01:00 committed by GitHub
parent b2a90e0ea9
commit 5c1117d69f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,12 @@
All notable changes to `diagnostics` will be documented in this file. All notable changes to `diagnostics` will be documented in this file.
## Version 3
### Added
- Header downloader monitor for diagnostics system (#7590)
## Version 2 ## Version 2
### Added ### Added

View File

@ -8,7 +8,7 @@ import (
"github.com/ledgerwatch/erigon/params" "github.com/ledgerwatch/erigon/params"
) )
const Version = 2 const Version = 3
func SetupVersionAccess() { func SetupVersionAccess() {
http.HandleFunc("/debug/metrics/version", func(w http.ResponseWriter, r *http.Request) { http.HandleFunc("/debug/metrics/version", func(w http.ResponseWriter, r *http.Request) {