Skip to content

Commit

Permalink
[Polkadot Wiki Migration] How to Validate (Polkadot) (#45)
Browse files Browse the repository at this point in the history
* add initial content

* Add kusama too cause why not

* remove section

* stuff

* set up validator page and validator requirements page - WIP

* finishes out writing, needs edits and grammarly

* adds TODO with question for tech content team

* updates directories and paths for remaining images

* grammarly pass

* moves optimize config info to General Management

* fix: adding missing images

* Moves install polkadot binaries to requirements, updates code snippet location and path

* updates bonding DOT section

* removes legacy infra/validators folder and contents

* applying review feedback

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* applying more review feedback

* now with more edits!

* updating image location and paths

* Develop > Testing > Setup (#111)

* fix: wip

* fix: adding title and desc

* fix: adding setup page completed

* fix: adding code snippets

* Apply suggestions from code review

Co-authored-by: bader y <[email protected]>

* fix: removing redundant paragraph

* fix: unused md line

* fix: removing paragraph

* fix: adding reference to the end of the article

* fix: adding custom genesis config

* Apply suggestions from code review

Co-authored-by: bader y <[email protected]>

* formatting pass, grammarly

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: bader y <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* [Substrate.io] Deterministic Runtime (#26)

* Add initial page

* rewrite most things

* remove section

* apply suggestions and formatting and grammar changes

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* add to variables.yml

* fix: adding wip

* fix: updating wording

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>

* Add Develop->Integrations section (#133)

* Add wallets and indexers

* Add oracles

* Add description

* Remove others page

* Apply grammarly

* Apply feedback

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* Fix descriptions

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* Add description to README.md (#126)

* add readme file

* adds link per review feedback

---------

Co-authored-by: DAWN KELLY <[email protected]>

* Move install-deps to get-started section (#148)

* Polkadot Protocol > Basics > Data Encoding (#114)

* create data-encoding page

* add description

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: 0xLucca <[email protected]>

* amend comments

* format text

Co-authored-by: 0xLucca <[email protected]>

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* applies review feedback

* Update polkadot-protocol/basics/data-encoding.md

Co-authored-by: Kevin Neilson <[email protected]>

* Update polkadot-protocol/basics/data-encoding.md

Co-authored-by: Kevin Neilson <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: Kevin Neilson <[email protected]>

* Develop > Testing > Runtime (#116)

* fix: wip

* fix: adding runtime testing page and code snippets

* fix: adding reference to pallet testing page

* fix: updating reference route

* grammarly, formatting pass edits

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* fix: removing conclusion header

---------

Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* IA Update - polkadot-protocol > Basics >Accounts  (#108)

* updates accounts for new IA

* updates for new IA for Accounts (combines 3 pages)

* deletes unneeded empty folders

* updates substrate reference to pdot sdk

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* updates per review feedback

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* deletes unused image

---------

Co-authored-by: Erin Shaben <[email protected]>

* Maintenance -> Storage Migrations (#118)

* wip: storage migration

* Information ready

* Improve

* Add description

* Extract code to snippets

* Improvements

* Update develop/blockchains/maintenance/storage-migrations.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Started edits, WIP

* grammarly, formatting updates

* adds link for Rust panic info

* Apply suggestions

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* IA update - creates Asset Hub page for Protocol section (#112)

* creates Asset Hub page for Protocol section

* review feedback

* feedback applied

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* review feedback

---------

Co-authored-by: Erin Shaben <[email protected]>

* Polkadot Protocol > Basics > Chain Data (#143)

* adds understanding metadata to intro to blockchain dev

* Polkadot Protocol > Basics > Chain Data

* moves code snippets and updates paths in md file

* review feedback applied

* Apply suggestions from code review

Co-authored-by: Kevin Neilson <[email protected]>

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Kevin Neilson <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* Polkadot Protocol > Basics > Randomness (#113)

* create randomness page

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Nicolás Hussein <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Update polkadot-protocol/basics/randomness.md

Co-authored-by: Erin Shaben <[email protected]>

* Link RANDAO and VRF to the sections below

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>

* applies feedback from review

* review feedback applied

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

---------

Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: DAWN KELLY <[email protected]>

* Build > Blockchains > Get Started > Deploy a Blockchain to Polkadot (#129)

* add: wip

* fix: adding overview page for deployment section

* add: overview page

* fix: wording

* Apply suggestions from code review

Co-authored-by: bader y <[email protected]>

* fix: wording

* Update develop/blockchains/deployment/overview.md

Co-authored-by: 0xLucca <[email protected]>

* fix: review comments applied

* Apply suggestions from code review

Co-authored-by: bader y <[email protected]>

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* fix: re-mapping page

* Revert "fix: re-mapping page"

This reverts commit 4e6ab1d.

* fix: populating `deploy-blockchain-to-polkadot`

* fix: removing overview page from deployment section

* fix: removing empty line

---------

Co-authored-by: bader y <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* API Libraries > Polkadot API (PAPI) (#138)

* add: papi wip

* fix: adding api instantiation section

* fix: final content of papi

* fix: apply grammarly

* fix: adding code snippets

* Apply suggestions from code review

Co-authored-by: 0xLucca <[email protected]>

* fix: typo

* fix: link to gh repo of papi

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* fix: paraphrasing

* fix: updating wording

* Apply suggestions from code review

Co-authored-by: Erin Shaben <[email protected]>

* fix: improvements

---------

Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>

* updates for new IA

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* adds description and intro to General Management

* combines the two General Management pages into a single one here

* merges the content from the two versions of this page, new intro and moved all the needed snippets

* adds reference for current minimum bond

* applying feedback

* link updates, fixes

* edit

* edits

* progress

* edit

* full node

* setup full node page

* update set up val page

* updates

* updates

* sort out randomness page

* revise monitoring

* add sudo where needed

* stop validating

* Apply suggestions from code review

Co-authored-by: Nicolás Hussein <[email protected]>

* adds back set-up-validator page

* updates .pages to display nav

* clean up set up full node

---------

Co-authored-by: DAWN KELLY <[email protected]>
Co-authored-by: nhussein11 <[email protected]>
Co-authored-by: Dawn Kelly <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Nicolás Hussein <[email protected]>
Co-authored-by: 0xLucca <[email protected]>
Co-authored-by: Andreja Markovic <[email protected]>
Co-authored-by: Kevin Neilson <[email protected]>
  • Loading branch information
9 people committed Nov 23, 2024
1 parent 6ede9d3 commit 59184fa
Show file tree
Hide file tree
Showing 35 changed files with 1,576 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
2024-11-19 23:49:57 Parity Polkadot
2024-11-19 23:49:57 ✌️ version 1.14.1-7c4cd60da6d
2024-11-19 23:49:57 ❤️ by Parity Technologies &lt;[email protected]&gt;, 2017-2024
2024-11-19 23:49:57 📋 Chain specification: Polkadot
2024-11-19 23:49:57 🏷 Node name: myPolkadotNode
2024-11-19 23:49:57 👤 Role: FULL
2024-11-19 23:49:57 💾 Database: RocksDb at /home/ubuntu/.local/share/polkadot/chains/polkadot/db/full
2024-11-19 23:50:00 🏷 Local node identity is: 12D3KooWDmhHEgPRJUJnUpJ4TFWn28EENqvKWH4dZGCN9TS51y9h
2024-11-19 23:50:00 Running libp2p network backend
2024-11-19 23:50:00 💻 Operating system: linux
2024-11-19 23:50:00 💻 CPU architecture: x86_64
2024-11-19 23:50:00 💻 Target environment: gnu
2024-11-19 23:50:00 💻 CPU: Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
2024-11-19 23:50:00 💻 CPU cores: 4
2024-11-19 23:50:00 💻 Memory: 32001MB
2024-11-19 23:50:00 💻 Kernel: 5.15.0-113-generic
2024-11-19 23:50:00 💻 Linux distribution: Ubuntu 22.04.5 LTS
2024-11-19 23:50:00 💻 Virtual machine: no
2024-11-19 23:50:00 📦 Highest known block at #9319
2024-11-19 23:50:00 〽️ Prometheus exporter started at 127.0.0.1:9615
2024-11-19 23:50:00 Running JSON-RPC server: addr=127.0.0.1:9944, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"]
2024-11-19 23:50:00 🏁 CPU score: 671.67 MiBs
2024-11-19 23:50:00 🏁 Memory score: 7.96 GiBs
2024-11-19 23:50:00 🏁 Disk score (seq. writes): 377.87 MiBs
2024-11-19 23:50:00 🏁 Disk score (rand. writes): 147.92 MiBs
2024-11-19 23:50:00 🥩 BEEFY gadget waiting for BEEFY pallet to become available...
2024-11-19 23:50:00 🔍 Discovered new external address for our node: /ip4/37.187.93.17/tcp/30333/ws/p2p/12D3KooWDmhHEgPRJUJnUpJ4TFWn28EENqvKWH4dZGCN9TS51y9h
2024-11-19 23:50:01 🔍 Discovered new external address for our node: /ip6/2001:41d0:a:3511::1/tcp/30333/ws/p2p/12D3KooWDmhHEgPRJUJnUpJ4TFWn28EENqvKWH4dZGCN9TS51y9h
2024-11-19 23:50:05 ⚙️ Syncing, target=#23486325 (5 peers), best: #12262 (0x8fb5…f310), finalized #11776 (0x9de1…32fb), ⬇ 430.5kiB/s ⬆ 17.8kiB/s
2024-11-19 23:50:10 ⚙️ Syncing 628.8 bps, target=#23486326 (6 peers), best: #15406 (0x9ce1…2d76), finalized #15360 (0x0e41…a064), ⬇ 255.0kiB/s ⬆ 1.8kiB/s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div id="termynal" data-termynal>
<span data-ty="input"
><span class="file-path"></span>rustup show <br />
rustup +nightly show</span
>
<span data-ty>active toolchain</span>
<span data-ty>----------------</span>
<span data-ty></span>
<span data-ty>stable-aarch64-apple-darwin (default)</span>
<span data-ty>rustc 1.82.0 (f6e511eec 2024-10-15)</span>
<span data-ty></span>
<span data-ty>active toolchain</span>
<span data-ty>----------------</span>
<span data-ty></span>
<span data-ty>nightly-aarch64-apple-darwin (overridden by +toolchain on the command line) </span>
<span data-ty>rustc 1.84.0-nightly (03ee48451 2024-11-18)</span>
<span data-ty="input"><span class="file-path"></span></span>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div id="termynal" data-termynal>
<span data-ty="input"
><span class="file-path"></span>rustup show <br />
rustup +nightly show</span
>
<span data-ty>active toolchain</span>
<span data-ty>----------------</span>
<span data-ty></span>
<span data-ty>stable-x86_64-unknown-linux-gnu (default)</span>
<span data-ty>rustc 1.82.0 (f6e511eec 2024-10-15)</span>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>polkadot --validator --name "INSERT_NAME_FROM_TELEMETRY"</span>
<span data-ty>Error:</span>
<span data-ty>0: Starting an authority without network key</span>
<span data-ty>This is not a safe operation because other authorities in the network may depend on your node having a stable identity.</span>
<span data-ty>Otherwise these other authorities may not being able to reach you.</span>
<span data-ty>If it is the first time running your node you could use one of the following methods:</span>
<span data-ty>1. [Preferred] Separately generate the key with: INSERT_NODE_BINARY key generate-node-key --base-path INSERT_YOUR_BASE_PATH</span>
<span data-ty>2. [Preferred] Separately generate the key with: INSERT_NODE_BINARY key generate-node-key --file INSERT_YOUR_PATH_TO_NODE_KEY</span>
<span data-ty>3. [Preferred] Separately generate the key with: INSERT_NODE_BINARY key generate-node-key --default-base-path</span>
<span data-ty>4. [Unsafe] Pass --unsafe-force-node-key-generation and make sure you remove it for subsequent node restarts</span>
<span data-ty="input"><span class="file-path"></span></span>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>polkadot --version polkadot-execute-worker --version polkadot-prepare-worker --version</span>
<span data-ty>1.16.1-36264cb36db</span>
<span data-ty>1.16.1-36264cb36db</span>
<span data-ty>1.16.1-36264cb36db</span>
<span data-ty="input"><span class="file-path"></span></span>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>polkadot</span>
<span data-ty>2021-06-17 03:07:07 Parity Polkadot</span>
<span data-ty>2021-06-17 03:07:07 ✌️ version 0.9.5-95f6aa201-x86_64-linux-gnu</span>
<span data-ty>2021-06-17 03:07:07 ❤️ by Parity Technologies &lt;[email protected]&gt;, 2017-2021</span>
<span data-ty>2021-06-17 03:07:07 📋 Chain specification: Polkadot</span>
<span data-ty>2021-06-17 03:07:07 🏷 Node name: boiling-pet-7554</span>
<span data-ty>2021-06-17 03:07:07 👤 Role: FULL</span>
<span data-ty>2021-06-17 03:07:07 💾 Database: RocksDb at /root/.local/share/polkadot/chains/polkadot/db</span>
<span data-ty>2021-06-17 03:07:07 ⛓ Native runtime: polkadot-9050 (parity-polkadot-0.tx7.au0)</span>
<span data-ty>2021-06-17 03:07:10 🏷 Local node identity is: 12D3KooWLtXFWf1oGrnxMGmPKPW54xWCHAXHbFh4Eap6KXmxoi9u</span>
<span data-ty>2021-06-17 03:07:10 📦 Highest known block at #17914</span>
<span data-ty>2021-06-17 03:07:10 〽️ Prometheus server started at 127.0.0.1:9615</span>
<span data-ty>2021-06-17 03:07:10 Listening for new connections on 127.0.0.1:9944</span>
<span data-ty>...</span>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>sudo systemctl status alertmanager</span>
<span data-ty>alertmanager.service - AlertManager Server Service</span>
<span data-ty>Loaded: loaded (/etc/systemd/system/alertmanager.service; enabled; vendor preset: enabled)</span>
<span data-ty>Active: active (running) since Thu 2020-08-20 22:01:21 CEST; 3 days ago</span>
<span data-ty>Main PID: 20592 (alertmanager)</span>
<span data-ty>Tasks: 70 (limit: 9830)</span>
<span data-ty>CGroup: /system.slice/alertmanager.service</span>
<span data-ty="input"><span class="file-path"></span></span>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
global:
resolve_timeout: 1m

route:
receiver: 'gmail-notifications'

receivers:
- name: 'gmail-notifications'
email_configs:
- to: INSERT_YOUR_EMAIL
from: INSERT_YOUR_EMAIL
smarthost: smtp.gmail.com:587
auth_username: INSERT_YOUR_EMAIL
auth_identity: INSERT_YOUR_EMAIL
auth_password: INSERT_YOUR_APP_PASSWORD
send_resolved: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
GRUB_DEFAULT = 0;
GRUB_HIDDEN_TIMEOUT = 0;
GRUB_HIDDEN_TIMEOUT_QUIET = true;
GRUB_TIMEOUT = 10;
GRUB_DISTRIBUTOR = `lsb_release -i -s 2> /dev/null || echo Debian`;
GRUB_CMDLINE_LINUX_DEFAULT = 'nosmt=force';
GRUB_CMDLINE_LINUX = '';

GRUB_DEFAULT = 0;
GRUB_HIDDEN_TIMEOUT = 0;
GRUB_HIDDEN_TIMEOUT_QUIET = true;
GRUB_TIMEOUT = 10;
GRUB_DISTRIBUTOR = `lsb_release -i -s 2> /dev/null || echo Debian`;
GRUB_CMDLINE_LINUX_DEFAULT = 'numa_balancing=disable';
GRUB_CMDLINE_LINUX = '';

GRUB_DEFAULT = 0;
GRUB_HIDDEN_TIMEOUT = 0;
GRUB_HIDDEN_TIMEOUT_QUIET = true;
GRUB_TIMEOUT = 10;
GRUB_DISTRIBUTOR = `lsb_release -i -s 2> /dev/null || echo Debian`;
GRUB_CMDLINE_LINUX_DEFAULT =
'spec_store_bypass_disable=prctl spectre_v2_user=prctl';
GRUB_CMDLINE_LINUX = '';
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
groups:
- name: alert_rules
rules:
- alert: InstanceDown
expr: up == 0
for: 5m
labels:
severity: critical
annotations:
summary: 'Instance [{{ $labels.instance }}] down'
description: '[{{ $labels.instance }}] of job [{{ $labels.job }}] has been down for more than 5 minutes.'
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
global:
scrape_interval: 15s
evaluation_interval: 15s

rule_files:
# - "first.rules"
# - "second.rules"

scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'substrate_node'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9615']
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=AlertManager Server Service
Wants=network-online.target
After=network-online.target

[Service]
User=root
Group=root
Type=simple
ExecStart=/usr/local/bin/alertmanager --config.file /etc/alertmanager/alertmanager.yml --web.external-url=http://SERVER_IP:9093 --cluster.advertise-address='0.0.0.0:9093'

[Install]
WantedBy=multi-user.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Unit]
Description=Prometheus Monitoring
Wants=network-online.target
After=network-online.target

[Service]
User=prometheus
Group=prometheus
Type=simple
ExecStart=/usr/local/bin/prometheus \
--config.file /etc/prometheus/prometheus.yml \
--storage.tsdb.path /var/lib/prometheus/ \
--web.console.templates=/etc/prometheus/consoles \
--web.console.libraries=/etc/prometheus/console_libraries
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>...</span>
<span data-ty>ts=2024-11-10T17:59:23.056Z caller=main.go:627 level=info msg="No time or size retention was set so using the default time retention" duration=15d</span>
<span data-ty>ts=2024-11-10T17:59:23.056Z caller=main.go:671 level=info msg="Starting Prometheus Server" mode=server version="(version=2.55.1, branch=HEAD, revision=6d7569113f1ca814f1e149f74176656540043b8d)"</span>
<span data-ty>ts=2024-11-10T17:59:23.056Z caller=main.go:676 level=info build_context="(go=go1.23.2, platform=linux/amd64, user=root@194e0f5dd5e8, date=20241106-10:08:33, tags=netgo,builtinassets,stringlabels)"</span>
<span data-ty>ts=2024-11-10T17:59:23.056Z caller=main.go:677 level=info host_details="(Linux 6.8.0-36-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 10 10:49:14 UTC 2024 x86_64 ubuntu-s-2vcpu-4gb-amd-nyc3-01 (none))"</span>
<span data-ty>ts=2024-11-10T17:59:23.056Z caller=main.go:678 level=info fd_limits="(soft=1048576, hard=1048576)"</span>
<span data-ty>ts=2024-11-10T17:59:23.056Z caller=main.go:679 level=info vm_limits="(soft=unlimited, hard=unlimited)"</span>
<span data-ty>ts=2024-11-10T17:59:23.064Z caller=web.go:585 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090</span>
<span data-ty>ts=2024-11-10T17:59:23.065Z caller=main.go:1197 level=info msg="Starting TSDB ..."</span>
<span data-ty>ts=2024-11-10T17:59:23.067Z caller=tls_config.go:348 level=info component=web msg="Listening on" address=[::]:9090</span>
<span data-ty>...</span>
<span data-ty>ts=2024-11-10T17:59:23.106Z caller=main.go:1221 level=info msg="TSDB started"</span>
<span data-ty>ts=2024-11-10T17:59:23.106Z caller=main.go:1404 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml</span>
<span data-ty>ts=2024-11-10T17:59:23.107Z caller=main.go:1441 level=info msg="updated GOGC" old=100 new=75</span>
<span data-ty>ts=2024-11-10T17:59:23.108Z caller=main.go:1452 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.878152ms db_storage=2.184µs remote_storage=2.966µs web_handler=822ns query_engine=1.823µs scrape=628.272µs scrape_sd=93.581µs notify=1.774µs notify_sd=1.413µs rules=2.735µs tracing=10.48µs</span>
<span data-ty>ts=2024-11-10T17:59:23.108Z caller=main.go:1182 level=info msg="Server is ready to receive web requests."</span>
<span data-ty>ts=2024-11-10T17:59:23.108Z caller=manager.go:164 level=info component="rule manager" msg="Starting rule manager..."</span>
<span data-ty="input"><span class="file-path"></span></span>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
global:
scrape_interval: 15s
evaluation_interval: 15s

rule_files:
- 'rules.yml'

alerting:
alertmanagers:
- static_configs:
- targets:
- localhost:9093

scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'substrate_node'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9615']
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 59184fa

Please sign in to comment.