mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-04 15:20:17 +00:00
chore(naming): Rename rust-peer to nox (#152)
* Rename rust-peer to nox * Fix * Fix
This commit is contained in:
parent
9ef1c73352
commit
2e9337ea3f
25
.github/workflows/container.yml
vendored
25
.github/workflows/container.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
image:
|
||||
description: "image name"
|
||||
type: string
|
||||
default: "fluencelabs/rust-peer"
|
||||
default: "fluencelabs/nox"
|
||||
version:
|
||||
description: "version set as part of container tag"
|
||||
type: string
|
||||
@ -106,6 +106,23 @@ jobs:
|
||||
cache-from: type=gha
|
||||
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 }}
|
||||
if: ${{ matrix.package == 'ipfs' && inputs.release }}
|
||||
uses: docker/build-push-action@v3
|
||||
@ -116,6 +133,8 @@ jobs:
|
||||
tags: |
|
||||
${{ inputs.image }}:latest
|
||||
${{ inputs.image }}:${{ env.RELEASE_VERSION }}
|
||||
fluencelabs/rust-peer:latest
|
||||
fluencelabs/rust-peer:${{ env.RELEASE_VERSION }}
|
||||
labels: |
|
||||
org.opencontainers.image.version=${{ env.RELEASE_VERSION }}
|
||||
org.opencontainers.image.created=${{ env.BUILD_DATE }}
|
||||
@ -129,13 +148,13 @@ jobs:
|
||||
with:
|
||||
username: ${{ env.DOCKER_USERNAME }}
|
||||
password: ${{ env.DOCKER_PASSWORD }}
|
||||
repository: fluencelabs/rust-peer
|
||||
repository: fluencelabs/nox
|
||||
|
||||
- name: Print results to check summary
|
||||
if: always()
|
||||
run: |
|
||||
cat <<'SNAPSHOT' >> $GITHUB_STEP_SUMMARY
|
||||
## rust-peer ${{ matrix.package }}
|
||||
## nox ${{ matrix.package }}
|
||||
digest: `${{ steps.docker.outputs.digest }}`
|
||||
```
|
||||
${{ inputs.image }}:${{ matrix.package }}
|
||||
|
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@ -68,24 +68,24 @@ jobs:
|
||||
## Docker tags
|
||||
|
||||
### ipfs
|
||||
Contains Fluence rust-peer and builtin IPFS deaemon.
|
||||
Contains Fluence nox and builtin IPFS deaemon.
|
||||
|
||||
fluencelabs/rust-peer:latest
|
||||
fluencelabs/rust-peer:${{ env.RELEASE_VERSION }}
|
||||
fluencelabs/rust-peer:ipfs
|
||||
fluencelabs/rust-peer:ipfs_${{ env.RELEASE_VERSION }}
|
||||
fluencelabs/nox:latest
|
||||
fluencelabs/nox:${{ env.RELEASE_VERSION }}
|
||||
fluencelabs/nox:ipfs
|
||||
fluencelabs/nox:ipfs_${{ env.RELEASE_VERSION }}
|
||||
|
||||
## minimal
|
||||
Contains Fluence rust-peer only.
|
||||
Contains Fluence nox only.
|
||||
|
||||
fluencelabs/rust-peer:minimal
|
||||
fluencelabs/rust-peer:minimal_${{ env.RELEASE_VERSION }}
|
||||
fluencelabs/nox:minimal
|
||||
fluencelabs/nox:minimal_${{ env.RELEASE_VERSION }}
|
||||
|
||||
## 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/rust-peer:rich_${{ env.RELEASE_VERSION }}
|
||||
fluencelabs/nox:rich
|
||||
fluencelabs/nox:rich_${{ env.RELEASE_VERSION }}
|
||||
|
||||
slack:
|
||||
if: always()
|
||||
|
12
Dockerfile
12
Dockerfile
@ -29,12 +29,12 @@ ARG BUILDPLATFORM
|
||||
|
||||
# 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.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 maintainer="fluencelabs"
|
||||
LABEL org.opencontainers.image.authors="fluencelabs"
|
||||
LABEL org.opencontainers.image.title="Fluence rust-peer distro"
|
||||
LABEL org.opencontainers.image.description="Minimal image containing only rust-peer itself"
|
||||
LABEL org.opencontainers.image.title="Fluence nox distro"
|
||||
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_BACKTRACE="1"
|
||||
@ -69,7 +69,7 @@ ENV FLUENCE_ENV_CONNECTOR_CONTRACT_ADDRESS=0xb497e025D3095A197E30Ca84DEc36a637E6
|
||||
# find deals from this block
|
||||
ENV FLUENCE_ENV_CONNECTOR_FROM_BLOCK=0x75f3fbc
|
||||
|
||||
# download rust-peer binary, builtins
|
||||
# download nox binary, builtins
|
||||
COPY fluence/ /fluence/
|
||||
RUN /fluence/download_builtins.sh /fluence/services.json
|
||||
RUN /fluence/download_fluence.sh /fluence/fluence.json
|
||||
@ -90,7 +90,7 @@ FROM minimal as ipfs
|
||||
ARG TARGETPLATFORM
|
||||
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}"
|
||||
|
||||
ENV IPFS_PATH=/config/ipfs
|
||||
@ -127,7 +127,7 @@ ARG BITCOIN_CLI_VERSION
|
||||
ARG TARGETPLATFORM
|
||||
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.glazed="${GLAZED_VERSION}"
|
||||
LABEL dev.fluence.image.bundles.bitcoin_cli="${BITCOIN_CLI_VERSION}"
|
||||
|
27
README.md
27
README.md
@ -1,28 +1,27 @@
|
||||
# Rust Peer Distro
|
||||
# Nox Distro
|
||||
|
||||
The distributive and packaging of the
|
||||
[Rust peer](https://github.com/fluencelabs/rust-peer).
|
||||
The distributive and packaging of the [nox](https://github.com/fluencelabs/nox).
|
||||
|
||||
## Installation and usage
|
||||
|
||||
```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
|
||||
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
|
||||
[deploy](https://github.com/fluencelabs/rust-peer-distro/tree/master/deploy).
|
||||
[deploy](https://github.com/fluencelabs/nox-distro/tree/master/deploy).
|
||||
|
||||
## Documentation
|
||||
|
||||
- Rust peer distro
|
||||
[image flavours](https://github.com/fluencelabs/rust-peer-distro/tree/master/docs/flavours.md)
|
||||
- [Builtin services](https://github.com/fluencelabs/rust-peer-distro/tree/master/docs/builtins.md)
|
||||
[image flavours](https://github.com/fluencelabs/nox-distro/tree/master/docs/flavours.md)
|
||||
- [Builtin services](https://github.com/fluencelabs/nox-distro/tree/master/docs/builtins.md)
|
||||
|
||||
Comprehensive documentation on everything related to Fluence can be found
|
||||
[here](https://fluence.dev/). Check also our
|
||||
@ -30,8 +29,8 @@ Comprehensive documentation on everything related to Fluence can be found
|
||||
|
||||
## Support
|
||||
|
||||
Please, file an [issue](https://github.com/fluencelabs/rust-peer-distro/issues)
|
||||
if you find a bug. You can also contact us at
|
||||
Please, file an [issue](https://github.com/fluencelabs/nox-distro/issues) if you
|
||||
find a bug. You can also contact us at
|
||||
[Discord](https://discord.com/invite/5qSnPZKh7u) or
|
||||
[Telegram](https://t.me/fluence_project). We will do our best to resolve the
|
||||
issue ASAP.
|
||||
@ -40,12 +39,12 @@ issue ASAP.
|
||||
|
||||
Any interested person is welcome to contribute to the project. Please, make sure
|
||||
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
|
||||
[here](https://github.com/fluencelabs/rust-peer-distro/tree/master/FluenceCLA).
|
||||
[here](https://github.com/fluencelabs/nox-distro/tree/master/FluenceCLA).
|
||||
|
||||
## License
|
||||
|
||||
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.
|
||||
|
@ -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 rust-peer image
|
||||
flavours and environment variables used to configure the images.
|
||||
Checkout [this doc](../docs/flavours.md) to learn more about nox image flavours
|
||||
and environment variables used to configure the images.
|
||||
|
@ -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
|
||||
[rust-peer](https://github.com/fluencelabs/rust-peer) nodes.
|
||||
[nox](https://github.com/fluencelabs/nox) nodes.
|
||||
|
||||
## 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
|
||||
[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.
|
||||
|
||||
## 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
|
||||
instructions for installing Docker and installing docker-compose on your
|
||||
operating system:
|
||||
@ -21,7 +21,7 @@ operating system:
|
||||
- [docker](https://docs.docker.com/engine/install/)
|
||||
- [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`.
|
||||
|
||||
@ -30,16 +30,16 @@ operating system:
|
||||
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
|
||||
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.
|
||||
|
||||
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()'
|
||||
```
|
||||
|
||||
## 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:
|
||||
```yml
|
||||
@ -114,8 +114,8 @@ docker-compose -f docker-compose.yml -f docker-compose.observability.yml up -d
|
||||
|
||||
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
|
||||
|
||||
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.
|
||||
|
@ -2,7 +2,7 @@ global:
|
||||
scrape_interval: "15s"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "rust-peer"
|
||||
- job_name: "nox"
|
||||
scrape_interval: "15s"
|
||||
static_configs:
|
||||
- targets:
|
||||
|
@ -5,7 +5,7 @@ clients:
|
||||
- url: "http://loki:3100/loki/api/v1/push"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "rust-peer"
|
||||
- job_name: "nox"
|
||||
docker_sd_configs:
|
||||
- host: unix:///var/run/docker.sock
|
||||
filters:
|
||||
|
@ -1,8 +1,8 @@
|
||||
name: rust-peer-network
|
||||
name: nox-network
|
||||
|
||||
services:
|
||||
peer-1:
|
||||
image: fluencelabs/rust-peer:rich
|
||||
image: fluencelabs/nox:rich
|
||||
container_name: "peer-1-12D3KooWBM3SdXWqGaawQDGQ6JprtwswEg3FWGvGhmgmMez1vRbR"
|
||||
ports:
|
||||
- 7771:7771
|
||||
@ -31,7 +31,7 @@ services:
|
||||
- -k=hK62afickoeP2uZbmSkAYXxxqP8ozq16VRN7qfTP719EHC5V5tjrtW57BSjUr8GvsEXmJRbtejUWyPZ2rZMyQdq
|
||||
|
||||
peer-2:
|
||||
image: fluencelabs/rust-peer:rich
|
||||
image: fluencelabs/nox:rich
|
||||
container_name: "peer-2-12D3KooWQdpukY3p2DhDfUfDgphAqsGu5ZUrmQ4mcHSGrRag6gQK"
|
||||
ports:
|
||||
- 7772:7772
|
||||
@ -60,7 +60,7 @@ services:
|
||||
- -k=2WijTVdhVRzyZamWjqPx4V4iNMrajegNMwNa2PmvPSZV6RRpo5M2fsPWdQr22HVRubuJhhSw8BrWiGt6FPhFAuXy
|
||||
|
||||
peer-3:
|
||||
image: fluencelabs/rust-peer:rich
|
||||
image: fluencelabs/nox:rich
|
||||
container_name: "peer-3-12D3KooWRT8V5awYdEZm6aAV9HWweCEbhWd7df4wehqHZXAB7yMZ"
|
||||
ports:
|
||||
- 7773:7773
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -186,7 +186,7 @@
|
||||
"le": 1e-9
|
||||
},
|
||||
"legend": {
|
||||
"show": false
|
||||
"show": true
|
||||
},
|
||||
"rowsFrame": {
|
||||
"layout": "auto",
|
||||
@ -201,7 +201,7 @@
|
||||
"reverse": false
|
||||
}
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
@ -210,7 +210,7 @@
|
||||
},
|
||||
"editorMode": "code",
|
||||
"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",
|
||||
"instant": false,
|
||||
"interval": "",
|
||||
@ -221,13 +221,185 @@
|
||||
"title": "Number of services 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": 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,
|
||||
"gridPos": {
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 8
|
||||
"y": 16
|
||||
},
|
||||
"id": 140,
|
||||
"panels": [
|
||||
@ -255,7 +427,7 @@
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 9
|
||||
"y": 17
|
||||
},
|
||||
"id": 23,
|
||||
"options": {
|
||||
@ -296,7 +468,7 @@
|
||||
"reverse": true
|
||||
}
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
@ -378,7 +550,7 @@
|
||||
"h": 11,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 20
|
||||
"y": 28
|
||||
},
|
||||
"id": 108,
|
||||
"options": {
|
||||
@ -441,10 +613,10 @@
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 10,
|
||||
"h": 5,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 31
|
||||
"y": 39
|
||||
},
|
||||
"id": 38,
|
||||
"options": {
|
||||
@ -459,9 +631,10 @@
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showUnfilled": true
|
||||
"showUnfilled": true,
|
||||
"valueMode": "color"
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
@ -528,10 +701,10 @@
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 10,
|
||||
"h": 5,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 31
|
||||
"y": 39
|
||||
},
|
||||
"id": 318,
|
||||
"options": {
|
||||
@ -546,9 +719,10 @@
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showUnfilled": true
|
||||
"showUnfilled": true,
|
||||
"valueMode": "color"
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
@ -564,7 +738,7 @@
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"title": "Available memory per modules, total",
|
||||
"title": "Available memory per services, total",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "organize",
|
||||
@ -600,7 +774,7 @@
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 9
|
||||
"y": 17
|
||||
},
|
||||
"id": 268,
|
||||
"panels": [
|
||||
@ -681,7 +855,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 42
|
||||
"y": 45
|
||||
},
|
||||
"id": 64,
|
||||
"options": {
|
||||
@ -827,7 +1001,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 42
|
||||
"y": 45
|
||||
},
|
||||
"id": 41,
|
||||
"options": {
|
||||
@ -922,7 +1096,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 50
|
||||
"y": 53
|
||||
},
|
||||
"heatmap": {},
|
||||
"hideZeroBuckets": true,
|
||||
@ -971,7 +1145,7 @@
|
||||
"unit": "dtdurations"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"reverseYBuckets": false,
|
||||
"targets": [
|
||||
{
|
||||
@ -1040,7 +1214,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 50
|
||||
"y": 53
|
||||
},
|
||||
"heatmap": {},
|
||||
"hideZeroBuckets": true,
|
||||
@ -1089,7 +1263,7 @@
|
||||
"unit": "dtdurations"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"reverseYBuckets": false,
|
||||
"targets": [
|
||||
{
|
||||
@ -1133,7 +1307,7 @@
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 10
|
||||
"y": 18
|
||||
},
|
||||
"id": 124,
|
||||
"panels": [
|
||||
@ -1180,7 +1354,7 @@
|
||||
"h": 9,
|
||||
"w": 4,
|
||||
"x": 0,
|
||||
"y": 43
|
||||
"y": 62
|
||||
},
|
||||
"id": 45,
|
||||
"options": {
|
||||
@ -1314,7 +1488,7 @@
|
||||
"h": 9,
|
||||
"w": 10,
|
||||
"x": 4,
|
||||
"y": 43
|
||||
"y": 62
|
||||
},
|
||||
"id": 92,
|
||||
"options": {
|
||||
@ -1412,7 +1586,7 @@
|
||||
"h": 9,
|
||||
"w": 10,
|
||||
"x": 14,
|
||||
"y": 43
|
||||
"y": 62
|
||||
},
|
||||
"id": 43,
|
||||
"options": {
|
||||
@ -1427,9 +1601,10 @@
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showUnfilled": true
|
||||
"showUnfilled": true,
|
||||
"valueMode": "color"
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
@ -1482,7 +1657,7 @@
|
||||
"h": 10,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 52
|
||||
"y": 71
|
||||
},
|
||||
"id": 49,
|
||||
"options": {
|
||||
@ -1523,7 +1698,7 @@
|
||||
"unit": "dtdurations"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
@ -1569,7 +1744,7 @@
|
||||
"h": 8,
|
||||
"w": 11,
|
||||
"x": 0,
|
||||
"y": 62
|
||||
"y": 81
|
||||
},
|
||||
"id": 19,
|
||||
"options": {
|
||||
@ -1609,7 +1784,7 @@
|
||||
"reverse": false
|
||||
}
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
@ -1662,7 +1837,7 @@
|
||||
"h": 8,
|
||||
"w": 13,
|
||||
"x": 11,
|
||||
"y": 62
|
||||
"y": 81
|
||||
},
|
||||
"heatmap": {},
|
||||
"hideZeroBuckets": true,
|
||||
@ -1713,7 +1888,7 @@
|
||||
"unit": "bytes"
|
||||
}
|
||||
},
|
||||
"pluginVersion": "9.4.3",
|
||||
"pluginVersion": "9.5.2",
|
||||
"reverseYBuckets": false,
|
||||
"targets": [
|
||||
{
|
||||
@ -1759,7 +1934,7 @@
|
||||
"schemaVersion": 38,
|
||||
"style": "dark",
|
||||
"tags": [
|
||||
"rust-peer"
|
||||
"nox"
|
||||
],
|
||||
"templating": {
|
||||
"list": [
|
||||
@ -1777,7 +1952,7 @@
|
||||
"type": "prometheus",
|
||||
"uid": "PAE45454D0EDB9216"
|
||||
},
|
||||
"definition": "label_values(up{job=~\"fluence|rust-peer\"}, env)",
|
||||
"definition": "label_values(up{job=~\"fluence|rust-peer|nox\"}, env)",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "env",
|
||||
@ -1785,7 +1960,7 @@
|
||||
"name": "env",
|
||||
"options": [],
|
||||
"query": {
|
||||
"query": "label_values(up{job=~\"fluence|rust-peer\"}, env)",
|
||||
"query": "label_values(up{job=~\"fluence|rust-peer|nox\"}, env)",
|
||||
"refId": "StandardVariableQuery"
|
||||
},
|
||||
"refresh": 1,
|
||||
@ -1804,7 +1979,7 @@
|
||||
"type": "prometheus",
|
||||
"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,
|
||||
"includeAll": true,
|
||||
"label": "",
|
||||
@ -1812,7 +1987,7 @@
|
||||
"name": "instance",
|
||||
"options": [],
|
||||
"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"
|
||||
},
|
||||
"refresh": 1,
|
||||
@ -1858,6 +2033,6 @@
|
||||
"timezone": "",
|
||||
"title": "Service metrics",
|
||||
"uid": "bKk0Bdl7Z",
|
||||
"version": 33,
|
||||
"version": 38,
|
||||
"weekStart": ""
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Builtin services
|
||||
|
||||
Rust peer distro comes with preconfigured builtin services.
|
||||
Nox distro comes with preconfigured builtin services.
|
||||
|
||||
## [registry](https://github.com/fluencelabs/registry)
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Rust Peer Distro Flavours
|
||||
# Nox Distro Flavours
|
||||
|
||||
Each flavour is represented by a docker image tag. See the
|
||||
[docker hub](https://hub.docker.com/r/fluencelabs/rust-peer) and the
|
||||
[releases](https://github.com/fluencelabs/rust-peer-distro/releases) page.
|
||||
[docker hub](https://hub.docker.com/r/fluencelabs/nox) and the
|
||||
[releases](https://github.com/fluencelabs/nox-distro/releases) page.
|
||||
|
||||
Each flavour builds upon its previous flavour. In particular, `ipfs` has
|
||||
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
|
||||
|
||||
It contains Rust peer itself and some [builtin services](builtins.md). It serves
|
||||
as a base image for all other image flavours and is intended for those who want
|
||||
to run an IPFS node separately.
|
||||
It contains nox itself and some [builtin services](builtins.md). It serves as a
|
||||
base image for all other image flavours and is intended for those who want to
|
||||
run an IPFS node separately.
|
||||
|
||||
`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,
|
||||
@ -33,7 +33,7 @@ running IPFS daemon in order for `aqua-ipfs` to work. If not defined,
|
||||
|
||||
## 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)
|
||||
running inside a container.
|
||||
|
||||
@ -51,7 +51,7 @@ running inside a container.
|
||||
|
||||
## 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
|
||||
binaries like bitcoin-cli or
|
||||
[geth](https://geth.ethereum.org/docs/interface/command-line-options).
|
||||
|
Loading…
Reference in New Issue
Block a user