Skip to content

Commit

Permalink
chore: clean + build
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Apr 5, 2022
1 parent 49bd491 commit ace7124
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions icon_contracts/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,3 @@ def __init__(self):
"max_block_number_transactions_raw",
"The block height",
)


#
# def set(self, metric, value):
# metric = getattr(self, metric)
# metric.labels(settings.NETWORK_NAME).set(value)
#
#
# if __name__ == '__main__':
# from prometheus_client import start_http_server
# from multiprocessing.pool import ThreadPool
#
# metrics_pool = ThreadPool(1)
#
# metrics_pool.apply_async(start_http_server, (settings.METRICS_PORT, settings.METRICS_ADDRESS))
# start_http_server(9401, "localhost")
#
# m = Metrics()
# m.set("preps_created_python")

0 comments on commit ace7124

Please sign in to comment.