-
- Downloads
hs: New metrics module
At this commit, a new service registers to the module and a store is created.
It also remove itself from the metrics module if it goes away.
In order to hook into the metrics subsystem, this commit attaches the HS
subsystem into the subsystem global list so its get_metrics() call can be
accessible.
HS initialization is still _not_ done through the subsys module as it is
likely require much more testing.
Related to #40063
Signed-off-by:
David Goulet <dgoulet@torproject.org>
parent
4f5cea1f
No related branches found
No related tags found
Showing
- src/app/main/subsystem_list.c 2 additions, 0 deletionssrc/app/main/subsystem_list.c
- src/feature/hs/hs_metrics.c 169 additions, 0 deletionssrc/feature/hs/hs_metrics.c
- src/feature/hs/hs_metrics.h 38 additions, 0 deletionssrc/feature/hs/hs_metrics.h
- src/feature/hs/hs_metrics_entry.c 33 additions, 0 deletionssrc/feature/hs/hs_metrics_entry.c
- src/feature/hs/hs_metrics_entry.h 41 additions, 0 deletionssrc/feature/hs/hs_metrics_entry.h
- src/feature/hs/hs_service.c 36 additions, 0 deletionssrc/feature/hs/hs_service.c
- src/feature/hs/hs_service.h 13 additions, 1 deletionsrc/feature/hs/hs_service.h
- src/feature/hs/hs_sys.c 36 additions, 0 deletionssrc/feature/hs/hs_sys.c
- src/feature/hs/hs_sys.h 22 additions, 0 deletionssrc/feature/hs/hs_sys.h
- src/feature/hs/include.am 8 additions, 2 deletionssrc/feature/hs/include.am
Loading
Please register or sign in to comment