chore(naming): Rename rust-peer to nox (#152)

* Rename rust-peer to nox

* Fix

* Fix
This commit is contained in:
Anatolios Laskaris 2023-06-06 23:52:27 +03:00 committed by GitHub
parent 9ef1c73352
commit 2e9337ea3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 1361 additions and 1505 deletions

View File

@ -6,7 +6,7 @@ on:
image: image:
description: "image name" description: "image name"
type: string type: string
default: "fluencelabs/rust-peer" default: "fluencelabs/nox"
version: version:
description: "version set as part of container tag" description: "version set as part of container tag"
type: string type: string
@ -106,6 +106,23 @@ jobs:
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
- name: Build and push ${{ matrix.package }} (legacy)
if: inputs.release
uses: docker/build-push-action@v3
with:
context: .
push: true
target: ${{ matrix.package }}
tags: |
fluencelabs/rust-peer:${{ matrix.package }}
fluencelabs/rust-peer:${{ matrix.package }}_${{ env.RELEASE_VERSION }}
labels: |
org.opencontainers.image.version=${{ env.RELEASE_VERSION }}
org.opencontainers.image.created=${{ env.BUILD_DATE }}
org.opencontainers.image.revision=${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build and push ${{ matrix.package }} - name: Build and push ${{ matrix.package }}
if: ${{ matrix.package == 'ipfs' && inputs.release }} if: ${{ matrix.package == 'ipfs' && inputs.release }}
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
@ -116,6 +133,8 @@ jobs:
tags: | tags: |
${{ inputs.image }}:latest ${{ inputs.image }}:latest
${{ inputs.image }}:${{ env.RELEASE_VERSION }} ${{ inputs.image }}:${{ env.RELEASE_VERSION }}
fluencelabs/rust-peer:latest
fluencelabs/rust-peer:${{ env.RELEASE_VERSION }}
labels: | labels: |
org.opencontainers.image.version=${{ env.RELEASE_VERSION }} org.opencontainers.image.version=${{ env.RELEASE_VERSION }}
org.opencontainers.image.created=${{ env.BUILD_DATE }} org.opencontainers.image.created=${{ env.BUILD_DATE }}
@ -129,13 +148,13 @@ jobs:
with: with:
username: ${{ env.DOCKER_USERNAME }} username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }} password: ${{ env.DOCKER_PASSWORD }}
repository: fluencelabs/rust-peer repository: fluencelabs/nox
- name: Print results to check summary - name: Print results to check summary
if: always() if: always()
run: | run: |
cat <<'SNAPSHOT' >> $GITHUB_STEP_SUMMARY cat <<'SNAPSHOT' >> $GITHUB_STEP_SUMMARY
## rust-peer ${{ matrix.package }} ## nox ${{ matrix.package }}
digest: `${{ steps.docker.outputs.digest }}` digest: `${{ steps.docker.outputs.digest }}`
``` ```
${{ inputs.image }}:${{ matrix.package }} ${{ inputs.image }}:${{ matrix.package }}

View File

@ -68,24 +68,24 @@ jobs:
## Docker tags ## Docker tags
### ipfs ### ipfs
Contains Fluence rust-peer and builtin IPFS deaemon. Contains Fluence nox and builtin IPFS deaemon.
fluencelabs/rust-peer:latest fluencelabs/nox:latest
fluencelabs/rust-peer:${{ env.RELEASE_VERSION }} fluencelabs/nox:${{ env.RELEASE_VERSION }}
fluencelabs/rust-peer:ipfs fluencelabs/nox:ipfs
fluencelabs/rust-peer:ipfs_${{ env.RELEASE_VERSION }} fluencelabs/nox:ipfs_${{ env.RELEASE_VERSION }}
## minimal ## minimal
Contains Fluence rust-peer only. Contains Fluence nox only.
fluencelabs/rust-peer:minimal fluencelabs/nox:minimal
fluencelabs/rust-peer:minimal_${{ env.RELEASE_VERSION }} fluencelabs/nox:minimal_${{ env.RELEASE_VERSION }}
## rich ## rich
Contains Fluence rust-peer, IPFS, ceramic cli, bitcoin cli and geth cli. Contains Fluence nox, IPFS, ceramic cli, bitcoin cli and geth cli.
fluencelabs/rust-peer:rich fluencelabs/nox:rich
fluencelabs/rust-peer:rich_${{ env.RELEASE_VERSION }} fluencelabs/nox:rich_${{ env.RELEASE_VERSION }}
slack: slack:
if: always() if: always()

View File

@ -29,12 +29,12 @@ ARG BUILDPLATFORM
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys # https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
LABEL org.opencontainers.image.base.name="ghcr.io/linuxserver/baseimage-ubuntu:jammy" LABEL org.opencontainers.image.base.name="ghcr.io/linuxserver/baseimage-ubuntu:jammy"
LABEL org.opencontainers.image.url="https://github.com/fluencelabs/rust-peer-distro" LABEL org.opencontainers.image.url="https://github.com/fluencelabs/nox-distro"
LABEL org.opencontainers.image.vendor="fluencelabs" LABEL org.opencontainers.image.vendor="fluencelabs"
LABEL maintainer="fluencelabs" LABEL maintainer="fluencelabs"
LABEL org.opencontainers.image.authors="fluencelabs" LABEL org.opencontainers.image.authors="fluencelabs"
LABEL org.opencontainers.image.title="Fluence rust-peer distro" LABEL org.opencontainers.image.title="Fluence nox distro"
LABEL org.opencontainers.image.description="Minimal image containing only rust-peer itself" LABEL org.opencontainers.image.description="Minimal image containing only nox itself"
ENV RUST_LOG="info,aquamarine=warn,tokio_threadpool=info,tokio_reactor=info,mio=info,tokio_io=info,soketto=info,yamux=info,multistream_select=info,libp2p_secio=info,libp2p_websocket::framed=info,libp2p_ping=info,libp2p_core::upgrade::apply=info,libp2p_kad::kbucket=info,cranelift_codegen=info,wasmer_wasi=info,cranelift_codegen=info,wasmer_wasi=info" ENV RUST_LOG="info,aquamarine=warn,tokio_threadpool=info,tokio_reactor=info,mio=info,tokio_io=info,soketto=info,yamux=info,multistream_select=info,libp2p_secio=info,libp2p_websocket::framed=info,libp2p_ping=info,libp2p_core::upgrade::apply=info,libp2p_kad::kbucket=info,cranelift_codegen=info,wasmer_wasi=info,cranelift_codegen=info,wasmer_wasi=info"
ENV RUST_BACKTRACE="1" ENV RUST_BACKTRACE="1"
@ -69,7 +69,7 @@ ENV FLUENCE_ENV_CONNECTOR_CONTRACT_ADDRESS=0xb497e025D3095A197E30Ca84DEc36a637E6
# find deals from this block # find deals from this block
ENV FLUENCE_ENV_CONNECTOR_FROM_BLOCK=0x75f3fbc ENV FLUENCE_ENV_CONNECTOR_FROM_BLOCK=0x75f3fbc
# download rust-peer binary, builtins # download nox binary, builtins
COPY fluence/ /fluence/ COPY fluence/ /fluence/
RUN /fluence/download_builtins.sh /fluence/services.json RUN /fluence/download_builtins.sh /fluence/services.json
RUN /fluence/download_fluence.sh /fluence/fluence.json RUN /fluence/download_fluence.sh /fluence/fluence.json
@ -90,7 +90,7 @@ FROM minimal as ipfs
ARG TARGETPLATFORM ARG TARGETPLATFORM
ARG BUILDPLATFORM ARG BUILDPLATFORM
LABEL org.opencontainers.image.description="rust-peer bundled with IPFS daemon" LABEL org.opencontainers.image.description="nox bundled with IPFS daemon"
LABEL dev.fluence.bundles.ipfs="${IPFS_VERSION}" LABEL dev.fluence.bundles.ipfs="${IPFS_VERSION}"
ENV IPFS_PATH=/config/ipfs ENV IPFS_PATH=/config/ipfs
@ -127,7 +127,7 @@ ARG BITCOIN_CLI_VERSION
ARG TARGETPLATFORM ARG TARGETPLATFORM
ARG BUILDPLATFORM ARG BUILDPLATFORM
LABEL org.opencontainers.image.description="rust-peer bundled with IPFS, Ceramic CLI and other tools" LABEL org.opencontainers.image.description="nox bundled with IPFS, Ceramic CLI and other tools"
LABEL dev.fluence.image.bundles.ceramic="${CERAMIC_VERSION}" LABEL dev.fluence.image.bundles.ceramic="${CERAMIC_VERSION}"
LABEL dev.fluence.image.bundles.glazed="${GLAZED_VERSION}" LABEL dev.fluence.image.bundles.glazed="${GLAZED_VERSION}"
LABEL dev.fluence.image.bundles.bitcoin_cli="${BITCOIN_CLI_VERSION}" LABEL dev.fluence.image.bundles.bitcoin_cli="${BITCOIN_CLI_VERSION}"

View File

@ -1,28 +1,27 @@
# Rust Peer Distro # Nox Distro
The distributive and packaging of the The distributive and packaging of the [nox](https://github.com/fluencelabs/nox).
[Rust peer](https://github.com/fluencelabs/rust-peer).
## Installation and usage ## Installation and usage
```bash ```bash
docker run -d --name rust-peer -e RUST_LOG="info" -p 7777:7777 -p 9999:9999 fluencelabs/rust-peer:latest --local docker run -d --name nox -e RUST_LOG="info" -p 7777:7777 -p 9999:9999 fluencelabs/nox:latest --local
``` ```
To get a list of commands that can be passed to rust-peer run: To get a list of commands that can be passed to nox run:
```bash ```bash
docker run --rm --name rust-peer fluencelabs/rust-peer:latest --help docker run --rm --name nox fluencelabs/nox:latest --help
``` ```
See deployment instructions and tips at See deployment instructions and tips at
[deploy](https://github.com/fluencelabs/rust-peer-distro/tree/master/deploy). [deploy](https://github.com/fluencelabs/nox-distro/tree/master/deploy).
## Documentation ## Documentation
- Rust peer distro - Rust peer distro
[image flavours](https://github.com/fluencelabs/rust-peer-distro/tree/master/docs/flavours.md) [image flavours](https://github.com/fluencelabs/nox-distro/tree/master/docs/flavours.md)
- [Builtin services](https://github.com/fluencelabs/rust-peer-distro/tree/master/docs/builtins.md) - [Builtin services](https://github.com/fluencelabs/nox-distro/tree/master/docs/builtins.md)
Comprehensive documentation on everything related to Fluence can be found Comprehensive documentation on everything related to Fluence can be found
[here](https://fluence.dev/). Check also our [here](https://fluence.dev/). Check also our
@ -30,8 +29,8 @@ Comprehensive documentation on everything related to Fluence can be found
## Support ## Support
Please, file an [issue](https://github.com/fluencelabs/rust-peer-distro/issues) Please, file an [issue](https://github.com/fluencelabs/nox-distro/issues) if you
if you find a bug. You can also contact us at find a bug. You can also contact us at
[Discord](https://discord.com/invite/5qSnPZKh7u) or [Discord](https://discord.com/invite/5qSnPZKh7u) or
[Telegram](https://t.me/fluence_project). We will do our best to resolve the [Telegram](https://t.me/fluence_project). We will do our best to resolve the
issue ASAP. issue ASAP.
@ -40,12 +39,12 @@ issue ASAP.
Any interested person is welcome to contribute to the project. Please, make sure Any interested person is welcome to contribute to the project. Please, make sure
you read and follow some basic you read and follow some basic
[rules](https://github.com/fluencelabs/rust-peer-distro/tree/master/CONTRIBUTING.md). [rules](https://github.com/fluencelabs/nox-distro/tree/master/CONTRIBUTING.md).
The Contributor License Agreement can be found The Contributor License Agreement can be found
[here](https://github.com/fluencelabs/rust-peer-distro/tree/master/FluenceCLA). [here](https://github.com/fluencelabs/nox-distro/tree/master/FluenceCLA).
## License ## License
All software code is copyright (c) Fluence Labs, Inc. under the All software code is copyright (c) Fluence Labs, Inc. under the
[Apache-2.0](https://github.com/fluencelabs/rust-peer-distro/tree/master/LICENSE) [Apache-2.0](https://github.com/fluencelabs/nox-distro/tree/master/LICENSE)
license. license.

View File

@ -1,9 +1,13 @@
# Running Rust Peer # Running nox
Currently there is only one way to try out the Rust peer. It is by running it with [docker-compose](docker-compose/). An example configuration for popular orchestration platforms like [HasiCorp Nomad](https://www.nomadproject.io/) and K8S are coming soon! Meanwhile, you can adapt [this docker-compose file](docker-compose/docker-compose.yml) for the platform of your choice. Currently there is only one way to try out the Rust peer. It is by running it
with [docker-compose](docker-compose/). An example configuration for popular
orchestration platforms like [HasiCorp Nomad](https://www.nomadproject.io/) and
K8S are coming soon! Meanwhile, you can adapt
[this docker-compose file](docker-compose/docker-compose.yml) for the platform
of your choice.
## Configuring nox distro image
## Configuring rust-peer distro image Checkout [this doc](../docs/flavours.md) to learn more about nox image flavours
and environment variables used to configure the images.
Checkout [this doc](../docs/flavours.md) to learn more about rust-peer image
flavours and environment variables used to configure the images.

View File

@ -1,19 +1,19 @@
# Run rust-peer with docker-compose # Run nox with docker-compose
This guide explains how to use docker-compose to start a local network of three This guide explains how to use docker-compose to start a local network of three
[rust-peer](https://github.com/fluencelabs/rust-peer) nodes. [nox](https://github.com/fluencelabs/nox) nodes.
## Introduction ## Introduction
The rust-peer network is a set of peer nodes that can communicate with each The nox network is a set of peer nodes that can communicate with each
other to share data and execute code plus local IPFS node used by other to share data and execute code plus local IPFS node used by
[aqua-ipfs builtin](../../docs/builtins.md##aqua-ipfs). By running a local [aqua-ipfs builtin](../../docs/builtins.md##aqua-ipfs). By running a local
rust-peer network, you can test your applications in a controlled environment nox network, you can test your applications in a controlled environment
without relying on external networks. without relying on external networks.
## Prerequisites ## Prerequisites
Before you can run the rust-peer network, you need to have Docker and Before you can run the nox network, you need to have Docker and
docker-compose installed on your system. You can follow the official docker-compose installed on your system. You can follow the official
instructions for installing Docker and installing docker-compose on your instructions for installing Docker and installing docker-compose on your
operating system: operating system:
@ -21,7 +21,7 @@ operating system:
- [docker](https://docs.docker.com/engine/install/) - [docker](https://docs.docker.com/engine/install/)
- [docker-compose](https://docs.docker.com/compose/install/linux/#install-using-the-repository) - [docker-compose](https://docs.docker.com/compose/install/linux/#install-using-the-repository)
## Starting local rust-peer network ## Starting local nox network
1. `git clone` this repository locally and run `cd deploy/docker-compose`. 1. `git clone` this repository locally and run `cd deploy/docker-compose`.
@ -30,16 +30,16 @@ operating system:
docker-compose pull docker-compose pull
``` ```
3. Start the rust-peer network by running the following command: 3. Start the nox network by running the following command:
```bash ```bash
docker-compose up -d docker-compose up -d
``` ```
This will start three rust-peer nodes, each listening on a different port. This will start three nox nodes, each listening on a different port.
## Accessing local rust-peer network ## Accessing local nox network
To interact with the rust-peer network, you can use the To interact with the nox network, you can use the
[fluence-cli](https://github.com/fluencelabs/fluence-cli) tool. [fluence-cli](https://github.com/fluencelabs/fluence-cli) tool.
1. Run `fluence init` and chose `minimal` project template. 1. Run `fluence init` and chose `minimal` project template.
@ -65,9 +65,9 @@ To interact with the rust-peer network, you can use the
fluence run -f 'getInfo()' fluence run -f 'getInfo()'
``` ```
## Using local rust-peer network in your project ## Using local nox network in your project
You must make changes to `fluence.yaml` to use a local rust-peer network: You must make changes to `fluence.yaml` to use a local nox network:
- changing `hosts` key in `fluence.yaml` to: - changing `hosts` key in `fluence.yaml` to:
```yml ```yml
@ -114,8 +114,8 @@ docker-compose -f docker-compose.yml -f docker-compose.observability.yml up -d
Grafana will have automatically preprovisioned dashboards: Grafana will have automatically preprovisioned dashboards:
- rust-peer stats - overview of rust-peer network - nox stats - overview of nox network
- Service metrics - detailed stats on deployed services - Service metrics - detailed stats on deployed services
You can find Grafana at http://localhost:3000. To access rust-peer logs use You can find Grafana at http://localhost:3000. To access nox logs use
`Explore` tab and chose `Loki` datasource. `Explore` tab and chose `Loki` datasource.

View File

@ -2,7 +2,7 @@ global:
scrape_interval: "15s" scrape_interval: "15s"
scrape_configs: scrape_configs:
- job_name: "rust-peer" - job_name: "nox"
scrape_interval: "15s" scrape_interval: "15s"
static_configs: static_configs:
- targets: - targets:

View File

@ -5,7 +5,7 @@ clients:
- url: "http://loki:3100/loki/api/v1/push" - url: "http://loki:3100/loki/api/v1/push"
scrape_configs: scrape_configs:
- job_name: "rust-peer" - job_name: "nox"
docker_sd_configs: docker_sd_configs:
- host: unix:///var/run/docker.sock - host: unix:///var/run/docker.sock
filters: filters:

View File

@ -1,8 +1,8 @@
name: rust-peer-network name: nox-network
services: services:
peer-1: peer-1:
image: fluencelabs/rust-peer:rich image: fluencelabs/nox:rich
container_name: "peer-1-12D3KooWBM3SdXWqGaawQDGQ6JprtwswEg3FWGvGhmgmMez1vRbR" container_name: "peer-1-12D3KooWBM3SdXWqGaawQDGQ6JprtwswEg3FWGvGhmgmMez1vRbR"
ports: ports:
- 7771:7771 - 7771:7771
@ -31,7 +31,7 @@ services:
- -k=hK62afickoeP2uZbmSkAYXxxqP8ozq16VRN7qfTP719EHC5V5tjrtW57BSjUr8GvsEXmJRbtejUWyPZ2rZMyQdq - -k=hK62afickoeP2uZbmSkAYXxxqP8ozq16VRN7qfTP719EHC5V5tjrtW57BSjUr8GvsEXmJRbtejUWyPZ2rZMyQdq
peer-2: peer-2:
image: fluencelabs/rust-peer:rich image: fluencelabs/nox:rich
container_name: "peer-2-12D3KooWQdpukY3p2DhDfUfDgphAqsGu5ZUrmQ4mcHSGrRag6gQK" container_name: "peer-2-12D3KooWQdpukY3p2DhDfUfDgphAqsGu5ZUrmQ4mcHSGrRag6gQK"
ports: ports:
- 7772:7772 - 7772:7772
@ -60,7 +60,7 @@ services:
- -k=2WijTVdhVRzyZamWjqPx4V4iNMrajegNMwNa2PmvPSZV6RRpo5M2fsPWdQr22HVRubuJhhSw8BrWiGt6FPhFAuXy - -k=2WijTVdhVRzyZamWjqPx4V4iNMrajegNMwNa2PmvPSZV6RRpo5M2fsPWdQr22HVRubuJhhSw8BrWiGt6FPhFAuXy
peer-3: peer-3:
image: fluencelabs/rust-peer:rich image: fluencelabs/nox:rich
container_name: "peer-3-12D3KooWRT8V5awYdEZm6aAV9HWweCEbhWd7df4wehqHZXAB7yMZ" container_name: "peer-3-12D3KooWRT8V5awYdEZm6aAV9HWweCEbhWd7df4wehqHZXAB7yMZ"
ports: ports:
- 7773:7773 - 7773:7773

View File

@ -186,7 +186,7 @@
"le": 1e-9 "le": 1e-9
}, },
"legend": { "legend": {
"show": false "show": true
}, },
"rowsFrame": { "rowsFrame": {
"layout": "auto", "layout": "auto",
@ -201,7 +201,7 @@
"reverse": false "reverse": false
} }
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -210,7 +210,7 @@
}, },
"editorMode": "code", "editorMode": "code",
"exemplar": false, "exemplar": false,
"expr": "services_services_count{env=~\"$env\",instance=~\"$instance\"}", "expr": "sum by (instance,env) (services_services_count{env=~\"$env\",instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"instant": false, "instant": false,
"interval": "", "interval": "",
@ -221,13 +221,185 @@
"title": "Number of services by host", "title": "Number of services by host",
"type": "heatmap" "type": "heatmap"
}, },
{
"datasource": {
"type": "prometheus",
"uid": "PAE45454D0EDB9216"
},
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 379,
"maxDataPoints": 100,
"options": {
"calculate": false,
"cellGap": 1,
"cellValues": {
"unit": "short"
},
"color": {
"exponent": 0.5,
"fill": "light-purple",
"min": 0,
"mode": "opacity",
"reverse": false,
"scale": "exponential",
"scheme": "RdBu",
"steps": 52
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto",
"value": "Worker-spells"
},
"tooltip": {
"show": true,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "left",
"reverse": false
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PAE45454D0EDB9216"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (instance,env) (services_services_count{env=~\"$env\",instance=~\"$instance\", service_type=\"worker-spell\"})",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"title": "Number of worker-spells by host",
"type": "heatmap"
},
{
"datasource": {
"type": "prometheus",
"uid": "PAE45454D0EDB9216"
},
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 380,
"maxDataPoints": 100,
"options": {
"calculate": false,
"cellGap": 1,
"cellValues": {
"unit": "short"
},
"color": {
"exponent": 0.5,
"fill": "super-light-green",
"min": 0,
"mode": "opacity",
"reverse": false,
"scale": "exponential",
"scheme": "RdBu",
"steps": 47
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto",
"value": "Spells"
},
"tooltip": {
"show": true,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "left",
"reverse": false
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PAE45454D0EDB9216"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (instance,env) (services_services_count{env=~\"$env\",instance=~\"$instance\", service_type=\"spell\"})",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"title": "Number of other spells by host",
"type": "heatmap"
},
{ {
"collapsed": true, "collapsed": true,
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 8 "y": 16
}, },
"id": 140, "id": 140,
"panels": [ "panels": [
@ -255,7 +427,7 @@
"h": 11, "h": 11,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 9 "y": 17
}, },
"id": 23, "id": 23,
"options": { "options": {
@ -296,7 +468,7 @@
"reverse": true "reverse": true
} }
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -378,7 +550,7 @@
"h": 11, "h": 11,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 20 "y": 28
}, },
"id": 108, "id": 108,
"options": { "options": {
@ -441,10 +613,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 10, "h": 5,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 31 "y": 39
}, },
"id": 38, "id": 38,
"options": { "options": {
@ -459,9 +631,10 @@
"fields": "", "fields": "",
"values": false "values": false
}, },
"showUnfilled": true "showUnfilled": true,
"valueMode": "color"
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -528,10 +701,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 10, "h": 5,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 31 "y": 39
}, },
"id": 318, "id": 318,
"options": { "options": {
@ -546,9 +719,10 @@
"fields": "", "fields": "",
"values": false "values": false
}, },
"showUnfilled": true "showUnfilled": true,
"valueMode": "color"
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -564,7 +738,7 @@
"refId": "A" "refId": "A"
} }
], ],
"title": "Available memory per modules, total", "title": "Available memory per services, total",
"transformations": [ "transformations": [
{ {
"id": "organize", "id": "organize",
@ -600,7 +774,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 9 "y": 17
}, },
"id": 268, "id": 268,
"panels": [ "panels": [
@ -681,7 +855,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 42 "y": 45
}, },
"id": 64, "id": 64,
"options": { "options": {
@ -827,7 +1001,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 42 "y": 45
}, },
"id": 41, "id": 41,
"options": { "options": {
@ -922,7 +1096,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 50 "y": 53
}, },
"heatmap": {}, "heatmap": {},
"hideZeroBuckets": true, "hideZeroBuckets": true,
@ -971,7 +1145,7 @@
"unit": "dtdurations" "unit": "dtdurations"
} }
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"reverseYBuckets": false, "reverseYBuckets": false,
"targets": [ "targets": [
{ {
@ -1040,7 +1214,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 50 "y": 53
}, },
"heatmap": {}, "heatmap": {},
"hideZeroBuckets": true, "hideZeroBuckets": true,
@ -1089,7 +1263,7 @@
"unit": "dtdurations" "unit": "dtdurations"
} }
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"reverseYBuckets": false, "reverseYBuckets": false,
"targets": [ "targets": [
{ {
@ -1133,7 +1307,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 10 "y": 18
}, },
"id": 124, "id": 124,
"panels": [ "panels": [
@ -1180,7 +1354,7 @@
"h": 9, "h": 9,
"w": 4, "w": 4,
"x": 0, "x": 0,
"y": 43 "y": 62
}, },
"id": 45, "id": 45,
"options": { "options": {
@ -1314,7 +1488,7 @@
"h": 9, "h": 9,
"w": 10, "w": 10,
"x": 4, "x": 4,
"y": 43 "y": 62
}, },
"id": 92, "id": 92,
"options": { "options": {
@ -1412,7 +1586,7 @@
"h": 9, "h": 9,
"w": 10, "w": 10,
"x": 14, "x": 14,
"y": 43 "y": 62
}, },
"id": 43, "id": 43,
"options": { "options": {
@ -1427,9 +1601,10 @@
"fields": "", "fields": "",
"values": false "values": false
}, },
"showUnfilled": true "showUnfilled": true,
"valueMode": "color"
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -1482,7 +1657,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 52 "y": 71
}, },
"id": 49, "id": 49,
"options": { "options": {
@ -1523,7 +1698,7 @@
"unit": "dtdurations" "unit": "dtdurations"
} }
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -1569,7 +1744,7 @@
"h": 8, "h": 8,
"w": 11, "w": 11,
"x": 0, "x": 0,
"y": 62 "y": 81
}, },
"id": 19, "id": 19,
"options": { "options": {
@ -1609,7 +1784,7 @@
"reverse": false "reverse": false
} }
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -1662,7 +1837,7 @@
"h": 8, "h": 8,
"w": 13, "w": 13,
"x": 11, "x": 11,
"y": 62 "y": 81
}, },
"heatmap": {}, "heatmap": {},
"hideZeroBuckets": true, "hideZeroBuckets": true,
@ -1713,7 +1888,7 @@
"unit": "bytes" "unit": "bytes"
} }
}, },
"pluginVersion": "9.4.3", "pluginVersion": "9.5.2",
"reverseYBuckets": false, "reverseYBuckets": false,
"targets": [ "targets": [
{ {
@ -1759,7 +1934,7 @@
"schemaVersion": 38, "schemaVersion": 38,
"style": "dark", "style": "dark",
"tags": [ "tags": [
"rust-peer" "nox"
], ],
"templating": { "templating": {
"list": [ "list": [
@ -1777,7 +1952,7 @@
"type": "prometheus", "type": "prometheus",
"uid": "PAE45454D0EDB9216" "uid": "PAE45454D0EDB9216"
}, },
"definition": "label_values(up{job=~\"fluence|rust-peer\"}, env)", "definition": "label_values(up{job=~\"fluence|rust-peer|nox\"}, env)",
"hide": 0, "hide": 0,
"includeAll": false, "includeAll": false,
"label": "env", "label": "env",
@ -1785,7 +1960,7 @@
"name": "env", "name": "env",
"options": [], "options": [],
"query": { "query": {
"query": "label_values(up{job=~\"fluence|rust-peer\"}, env)", "query": "label_values(up{job=~\"fluence|rust-peer|nox\"}, env)",
"refId": "StandardVariableQuery" "refId": "StandardVariableQuery"
}, },
"refresh": 1, "refresh": 1,
@ -1804,7 +1979,7 @@
"type": "prometheus", "type": "prometheus",
"uid": "PAE45454D0EDB9216" "uid": "PAE45454D0EDB9216"
}, },
"definition": "label_values(up{job=~\"fluence|rust-peer\",env=~\"$env\"}, instance)", "definition": "label_values(up{job=~\"fluence|rust-peer|nox\",env=~\"$env\"}, instance)",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": "", "label": "",
@ -1812,7 +1987,7 @@
"name": "instance", "name": "instance",
"options": [], "options": [],
"query": { "query": {
"query": "label_values(up{job=~\"fluence|rust-peer\",env=~\"$env\"}, instance)", "query": "label_values(up{job=~\"fluence|rust-peer|nox\",env=~\"$env\"}, instance)",
"refId": "StandardVariableQuery" "refId": "StandardVariableQuery"
}, },
"refresh": 1, "refresh": 1,
@ -1858,6 +2033,6 @@
"timezone": "", "timezone": "",
"title": "Service metrics", "title": "Service metrics",
"uid": "bKk0Bdl7Z", "uid": "bKk0Bdl7Z",
"version": 33, "version": 38,
"weekStart": "" "weekStart": ""
} }

View File

@ -1,6 +1,6 @@
# Builtin services # Builtin services
Rust peer distro comes with preconfigured builtin services. Nox distro comes with preconfigured builtin services.
## [registry](https://github.com/fluencelabs/registry) ## [registry](https://github.com/fluencelabs/registry)

View File

@ -1,8 +1,8 @@
# Rust Peer Distro Flavours # Nox Distro Flavours
Each flavour is represented by a docker image tag. See the Each flavour is represented by a docker image tag. See the
[docker hub](https://hub.docker.com/r/fluencelabs/rust-peer) and the [docker hub](https://hub.docker.com/r/fluencelabs/nox) and the
[releases](https://github.com/fluencelabs/rust-peer-distro/releases) page. [releases](https://github.com/fluencelabs/nox-distro/releases) page.
Each flavour builds upon its previous flavour. In particular, `ipfs` has Each flavour builds upon its previous flavour. In particular, `ipfs` has
everything that `minimal` has, and `rich` has everything that `minimal` and everything that `minimal` has, and `rich` has everything that `minimal` and
@ -18,9 +18,9 @@ Tag `latest` points to the latest version of `ipfs` flavour.
## minimal ## minimal
It contains Rust peer itself and some [builtin services](builtins.md). It serves It contains nox itself and some [builtin services](builtins.md). It serves as a
as a base image for all other image flavours and is intended for those who want base image for all other image flavours and is intended for those who want to
to run an IPFS node separately. run an IPFS node separately.
`FLUENCE_ENV_AQUA_IPFS_*` variables must be defined and point to externally `FLUENCE_ENV_AQUA_IPFS_*` variables must be defined and point to externally
running IPFS daemon in order for `aqua-ipfs` to work. If not defined, running IPFS daemon in order for `aqua-ipfs` to work. If not defined,
@ -33,7 +33,7 @@ running IPFS daemon in order for `aqua-ipfs` to work. If not defined,
## ipfs ## ipfs
This is a Rust peer packaged with an This is a nox packaged with an
[IPFS node](https://docs.ipfs.io/how-to/command-line-quick-start/#take-your-node-online) [IPFS node](https://docs.ipfs.io/how-to/command-line-quick-start/#take-your-node-online)
running inside a container. running inside a container.
@ -51,7 +51,7 @@ running inside a container.
## rich ## rich
This is a Rust peer packaged with an IPFS node, This is a nox packaged with an IPFS node,
[Ceramic](https://developers.ceramic.network/learn/welcome/) CLI and some other [Ceramic](https://developers.ceramic.network/learn/welcome/) CLI and some other
binaries like bitcoin-cli or binaries like bitcoin-cli or
[geth](https://geth.ethereum.org/docs/interface/command-line-options). [geth](https://geth.ethereum.org/docs/interface/command-line-options).