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

add mkdocs_monero_metrics_plugin #40

Open
wants to merge 2 commits into
base: test
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile_coolify
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM python:3.9-slim AS builder
FROM python:3.12-slim AS builder

WORKDIR /monero-docs

COPY . /monero-docs

RUN pip install -r requirements.txt
RUN apt-get update && apt-get install -y git && pip install -r requirements.txt

RUN mkdocs build

Expand Down
2 changes: 1 addition & 1 deletion docs/en/technical-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ title: Monero Technical Specification
## Current blockchain size

* Pruned node: ~ 57GB as of Jan 2023
* Complete chain without any pruning: ~138GB as of Jan 2023
* Complete chain without any pruning: {{ monero_main_file_size }} as of {{ monero_main_file_last_update }} (Height {{ monero_main_block_height }})

## Emission curve

Expand Down
9 changes: 9 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,12 @@ plugins:
- locale: nb
name: Norsk Bokmål
build: false
- monero-metrics:
endpoints:
- "http://127.0.0.1:9123/metrics"
time_format: '%Y-%m-%d %H:%M UTC'
defaults:
monero_main_file_size: "203.24 GB"
monero_main_file_last_update: "2024-09-09 11:51:28"
monero_main_block_height: 3233846
monero_main_block_timestamp: "2024-09-09 11:50:21"
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ requests==2.32.3
six==1.16.0
urllib3==2.2.2
watchdog==4.0.1
git+https://github.com/DiosDelRayo/mkdocs_monero_metrics_plugin.git