Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

enhancement: Removed report_metrics from indexer manifest #1372

Merged
merged 1 commit into from
Sep 26, 2023
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
7 changes: 0 additions & 7 deletions docs/src/project-components/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ start_block: 1564
end_block: 310000
module:
wasm: path/to/my/wasm_module.wasm
report_metrics: true
```

## `namespace`
Expand Down Expand Up @@ -81,12 +80,6 @@ The `module` field contains a file path that points to code that will be run as

> Important: At this time, `wasm` is the preferred method of execution.

## `report_metrics`

_Optional._

The `report_metrics` field indicates whether to report Prometheus metrics to the Fuel backend.

## `resumable`

_Optional._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ graphql_schema: examples/fuel-explorer/fuel-explorer/schema/fuel_explorer.schem
module:
wasm: target/wasm32-unknown-unknown/release/fuel_explorer.wasm

# The report_metrics field contains boolean whether or not to report Prometheus metrics to the
# Fuel backend
report_metrics: true

# The resumable field contains a boolean that specifies whether or not the indexer should, synchronise
# with the latest block if it has fallen out of sync.
resumable: true
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ graphql_schema: examples/hello-world-native/hello-indexer-native/schema/hello_i
# Important: At this time, wasm is the preferred method of execution.
module: native

# The report_metrics field contains boolean whether or not to report Prometheus metrics to the
# Fuel backend
report_metrics: true

# The resumable field contains a boolean that specifies whether or not the indexer should, synchronise
# with the latest block if it has fallen out of sync.
resumable: true
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ graphql_schema: examples/hello-world/hello-indexer/schema/hello_indexer.schema.g
module:
wasm: target/wasm32-unknown-unknown/release/hello_indexer.wasm

# The report_metrics field contains boolean whether or not to report Prometheus metrics to the
# Fuel backend
report_metrics: true

# The resumable field contains a boolean that specifies whether or not the indexer should, synchronise
# with the latest block if it has fallen out of sync.
resumable: true
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ contract_id: fuel1h97g4w7wrwv78ad5xquxs3ecl30xstuqgzsw4uvpakg7yyh8d86spsken2
identifier: index1
module:
wasm: target/wasm32-unknown-unknown/release/fuel_indexer_test.wasm
report_metrics: true
resumable: true
4 changes: 0 additions & 4 deletions plugins/forc-index/src/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@ graphql_schema: {schema_path}
# Important: At this time, wasm is the preferred method of execution.
module: {module}

# The report_metrics field contains boolean whether or not to report Prometheus metrics to the
# Fuel backend
report_metrics: true

# The resumable field contains a boolean that specifies whether or not the indexer should, synchronise
# with the latest block if it has fallen out of sync.
resumable: true
Expand Down