mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-11 13:30:05 +00:00
Up version of diagnostics protocol (#7638)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
This commit is contained in:
parent
b2a90e0ea9
commit
5c1117d69f
diagnostics
@ -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
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user