Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theus: prometheus logging across bittensor components #894

Closed
wants to merge 37 commits into from
Closed

Conversation

unconst
Copy link
Contributor

@unconst unconst commented Sep 1, 2022

Prometheus logging:

Bittensor and miner classes can enable a local Prometheus server that logs statistics. These can be picked up by a global Prometheus server for use in network monitoring.

Features:

Global Prometheus switch
--prometheus.level <DEBUG, INFO, OFF>

Object level Prometheus switches:
--config.promehteus.level <DEBUG, INFO, OFF>
--axon.promehteus.level <DEBUG, INFO, OFF>
--dendrite.promehteus.level <DEBUG, INFO, OFF>

Turning off the global Prometheus switch ensures the main Prometheus server is not created.

Additional changes:
-- Removes defunct wandb statistics logging from Axon and Dendrite and from Validator and Miner classes.

@unconst unconst requested a review from Eugene-hu September 1, 2022 19:20
Copy link
Contributor

@Eugene-hu Eugene-hu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; left you a comment

@eduardogr
Copy link
Contributor

Closing this for new PR that replace this one: #928

@eduardogr eduardogr closed this Sep 27, 2022
@ifrit98 ifrit98 deleted the theus branch May 24, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants