Skip to content

Commit

Permalink
add prometheus spkg as imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Oct 10, 2024
1 parent c1e0297 commit 00b4b98
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ localblocks
rpc-cache
localdata
*.spkg
!/**/imports/*.spkg

### VisualStudioCode template
.vscode/*
Expand Down
6 changes: 5 additions & 1 deletion eosmechanics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[package]
name = "eosmechanics"
version = "0.3.7"
authors = ["Denis <denis@pinax.network>", "Fred <fred@pinax.network>", "Charles <charles@pinax.network>"]
authors = [
"Denis <denis@pinax.network>",
"Fred <fred@pinax.network>",
"Charles <charles@pinax.network>",
]
description = "Block Producer Benchmarks"
license = "MIT OR Apache-2.0"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions eosmechanics/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ info:

.PHONY: run
run:
substreams run -e telos.substreams.pinax.network:443 prom_out -s 273976005 -o jsonl
substreams run ./substreams.yaml -e telos.substreams.pinax.network:443 prom_out -s 273976005 -o jsonl

.PHONY: gui
gui:
substreams gui -e kylin.substreams.pinax.network:443 prom_out -s 273976005 -t +1000
substreams gui ./substreams.yaml -e kylin.substreams.pinax.network:443 prom_out -s 273976005 -t +1000

.PHONY: sink
sink:
substreams-sink-prometheus run -e eos.substreams.pinax.network:443 https://github.com/pinax-network/substreams/releases/download/eosmechanics-v0.3.5/eosmechanics-v0.3.5.spkg -s 292103130
substreams-sink-prometheus run -e eos.substreams.pinax.network:443 https://github.com/pinax-network/substreams/releases/download/eosmechanics-v0.3.5/eosmechanics-v0.3.5.spkg -s 292103130 prom_out

Binary file not shown.
6 changes: 3 additions & 3 deletions eosmechanics/substreams.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
specVersion: v0.1.0
package:
name: eosmechanics
version: v0.3.7
version: v0.4.0
url: https://github.com/pinax-network/substreams
doc: Block Producer Benchmarks

# imports:
# prometheus: https://github.com/pinax-network/substreams-sink-prometheus.rs/releases/download/v0.2.0/substreams-sink-prometheus-v0.2.0.spkg
imports:
prometheus: ./imports/substreams-sink-prometheus-v0.2.0.spkg

binaries:
default:
Expand Down

0 comments on commit 00b4b98

Please sign in to comment.