Skip to content
Merged
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
93 changes: 91 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</a>
</p>

<h1 align="center">Blocks</h1>
<h1 align="center">BlocksOp Network</h1>
Copy link
Contributor

Choose a reason for hiding this comment

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

Telescope


- [Summary](#summary)
- [Language](#language)
Expand All @@ -13,7 +13,96 @@

## Summary

Node Monitoring Platform for blockchain nodes
An All-in-One Web3 Observability tooling that collects metrics and logs from blockchain nodes and related infrastructure.

## Usage

Telescope can be configured either through command line flags or a YAML configuration file.

Using Command Line Flags
Basic usage with metrics enabled:

```bash
agent \
--metrics \
--network=ethereum \
--project-id=my-project \
--project-name=my-name \
--telescope-username=user \
--telescope-password=pass \
--remote-write-url=https://metrics.example.com
```

Enable both metrics and logs:

```bash
agent \
Copy link
Contributor

Choose a reason for hiding this comment

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

the binary name should be telescope

--metrics \
--enable-logs \
--network=ethereum \
--project-id=my-project \
--project-name=my-name \
--telescope-username=user \
--telescope-password=pass \
--remote-write-url=https://metrics.example.com \
--logs-sink-url=https://logs.example.com \
--telescope-loki-username=loki-user \
--telescope-loki-password=loki-pass
```

#### Using Configuration File

Create a YAML configuration file and run:

```bash
agent --config-file=telescope_config.yaml
Copy link
Contributor

Choose a reason for hiding this comment

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

please update the binary name here as well

```

Example configuration file:

```yaml
server:
log_level: info
metrics:
global:
scrape_interval: 15s
external_labels:
project_id: my-project
project_name: my-name
remote_write:
- url: https://metrics.example.com
basic_auth:
username: user
password: pass
wal_directory: /tmp/telescope
configs:
- name: my-name_ethereum_metrics
host_filter: false
scrape_configs:
- job_name: ethereum
static_configs:
- targets: ["localhost:8545"]
logs:
configs:
- name: telescope_logs
clients:
- url: https://logs.example.com
basic_auth:
username: loki-user
password: loki-pass
external_labels:
project_id: my-project
project_name: my-name
positions:
filename: /tmp/telescope_logs
integrations:
agent:
enabled: false
node_exporter:
enabled: true
```



## Language
- Golang
Expand Down
Loading
Loading