Celestia 백서

Celestia

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 20쪽 중 11쪽

ervability/docker/otel-collector/config.yml) and a [Docker Compose stack](https://github.com/celestiaorg/celestia-app/tree/v10.4.0-mocha/observability/docker) with Prometheus, Tempo, and Grafana that you can start from. The stack publishes Prometheus on host port `9090`, which the setup guide uses for application gRPC. When running it on the validator host, change that mapping in `docker-compose.yml`, for example to `9091:9090`. | Flag | Environment variable | Default | |---|---|---| | `--otel-endpoint` | `FIBRE_OTEL_ENDPOINT` | Disabled | ```bash fibre start --otel-endpoint http://localhost:4318 ``` Use the collector's base URL. Fibre appends `/v1/traces` and `/v1/metrics` itself. For example, `https://collector.example.com/otel` sends data to `/otel/v1/traces` and `/otel/v1/metrics`. ### Grafana dashboard Import the release's [Fibre dashboard JSON](https://github.com/celestiaorg/celestia-app/blob/v10.4.0-mocha/observability/docker/grafana/dashboards/fibre.json) into Grafana. The dashboard expects a Prometheus data source with UID `prometheus`; use that UID or update the dashboard to match your data source. Client panels need telemetry from Fibre clients as well as the server. The same directory has a [Fibre runtime dashboard](https://github.com/celestiaorg/celestia-app/blob/v10.4.0-mocha/observability/docker/grafana/dashboards/fibre-runtime.json) for Go runtime metrics such as memory and goroutines. To verify the pipeline, start Fibre with `--otel-endpoint` set, open the Fibre dashboard, and confirm the server panels populate once uploads or downloads arrive. If they stay empty, work through the [troubleshooting](#troubleshooting) table. ## Community dashboards Use these community-maintained dashboards to monitor Fibre on Mocha: | Dashboard | What it monitors | |---|---| | [Valopers](https://testnet.celestia.valopers.com/fibre) | Registered providers, host reachability, and validator endorsements. | | [Tensile by Huginn Tech](https://tensile.huginn.tech/) | Endpoint reachability, validator TLS identity, and whether validators serve their assigned blob rows during the retention window. | See Tensile's [methodology](https://tensile.huginn.tech/methodology/) for how observations and verdicts are calculated. ## Metric reference ### Traces Fibre samples 10% of root spans and respects upstream sampling decisions, using `ParentBased(TraceIDRatioBased(0.1))`. W3C TraceContext and Baggage propagation carry trace context across gRPC and HTTP calls. Each trace includes `service.name=fibre`, `service.version`, and `service.instance.id` (the hostname). ### Metrics Metrics are exported periodically over OTLP. Duration histograms include a `success` attribute, so their counts can be used to calculate error rates. Metric exemplars link observations to traces; in Grafana, select an exemplar to open its trace. The tables below list the original OTLP metric names. Your collector or backend may convert dots to underscores and add unit suffixes. #### Server metrics | Metric | Type | Attributes | Description | |---|---|---|---| | `fibre.server.upload_shard.in_flight` | UpDownCounter | — | Concurrent UploadShard RPCs | | `fibre.server.upload_shard.duration` | Histogram (s) | `success`, `upload_size` | UploadShard RPC latency | | `fibre.server.upload_shard.bytes` | Counter (By) | — | Bytes received | | `fibre.server.download_shard.in_flight` | UpDownCounter | — | Concurrent DownloadShard RPCs | | `fibre.server.download_shard.duration` | Histogram (s) | `success`, `shard_size` | DownloadShard RPC latency | | `fibre.server.download_shard.bytes` | Counter (By) | — | Bytes sent | | `fibre.server.store.put.duration` | Histogram (s) | `success` | Store write latency | | `fibre.server.store.get.duration` | Histogram (s) | `success` | Store read latency | | `fibre.server.sign.duration` | Histogram (s) | `success` | Payment promise signing latency | | `fibre.server.prune.entries` | Counter | — | Entries pruned | | `fibre.server.prune.duration` | Histogram (s) | `success` | Prune cycle duration | `fibre.server.sign.duration` measures how long Fibre waits for payment promise endorsements. It is not the metric behind the 10 ms signing latency requirement; that is celestia-app's `cometbft_privval_signing_latency_*`, see [signing latency](/operate/consensus-validators/fibre#prerequisites) on the setup page. #### Client metrics These metrics come from instrumented Fibre clients. Collect client telemetry alongside server telemetry to measure end-to-end uploads and downloads. | Metric | Type | Attributes | Description | |---|---|---|---| | `fibre.client.upload.in_flight` | UpDownCounter | — | Concurrent uploads | | `fibre.client.upload.duration` | Histogram (s) | `success`, `blob_size` | Upload latency | | `fibre.client.upload.bytes` | Counter (By) | — | Uploaded bytes, including row padding | | `fibre.client.upload.data_bytes` | Counter (By) | — | Original data bytes, without padding or coding overhead | | `fibre.client.upload.network_bytes` | Counter (By) | — | Bytes sent to all validators, including shard duplication | | `fibre.client.upload.signatures_collected` | Histogram | — | Signatures collected per upload | | `fibre.client.upload_to.duration` | Histogram (s) | `success`, `blob_size`, `validator_address` | Upload duration per validator | | `fibre.client.upload_to.rpc_latency` | Histogram (s) | `success`, `validator_address` | Upload RPC network latency per validator | | `fibre.client.download.in_flight` | UpDownCounter | — | Concurrent downloads | | `fibre.client.download.duration` | Histogram (s) | `success`, `blob_size` | Download latency | | `fibre.client.download.bytes` | Counter (By) | — | Downloaded bytes | | `fibre.client.download_from.duration` | Histogram (s) | `success`, `validator_address` | Download duration per validator | | `fibre.client.download_from.rpc_latency` | Histogram (s) | `success`, `validator_address` | Download RPC network latency per validator | ## Profiling with pprof Enable the HTTP profiling server when you need to inspect CPU use, memory, goroutines, or contention: ```bash fibre start --pprof ``` The default address is `localhost:6060`. To use a different local port: ```bash fibre start --pprof=localhost:7070 ``` | Endpoint | Description | |---|---| | `/debug/pprof/` | Profile index | | `/debug/pprof/goroutine` | Goroutine stack traces | | `/debug/pprof/heap` | Heap memory allocations | | `/debug/pprof/allocs` | Past memory allocations | | `/debug/pprof/block` | Goroutine blocking events | | `/debug/pprof/mutex` | Mutex contention | | `/debug/pprof/profile` | 30-second CPU profile | | `/debug/pprof/trace` | Execution trace | Mutex and block profiling start automatically with the pprof server, using mutex fraction `5` and block rate `1`. ## Continuous profiling with Pyroscope Fibre can push profiles to a Pyroscope server. When tracing and Pyroscope are both enabled, goroutine labels include span IDs so Grafana can link traces to profiles. Profiles have `version` and `hostname` tags for filtering. | Flag | Environment variable | Default | |---|---|---| | `--pyroscope-endpoint` | `FIBRE_PYROSCOPE_ENDPOINT` | Disabled | | `--pyroscope-basic-auth-user` | `FIBRE_PYROSCOPE_BASIC_AUTH_USER` | None | | `--pyroscope-basic-auth-password` | `FIBRE_PYROSCOPE_BASIC_AUTH_PASSWORD` | None | ```bash fibre start --pyroscope-endpoint http://localhost:4040 ``` For an endpoint that requires authentication: ```bash fibre start \ --pyroscope-endpoint https://<pyroscope_host> \ --pyroscope-basic-auth-user <user_id> \ --pyroscope-basic-auth-password <api_key> ``` ## Troubleshooting | Symptom | Check | |---|---| | No metrics or traces | Set `--otel-endpoint` to the collector's base URL, confirm it is reachable, and check that both signal pipelines are configured. | | No client metrics on the dashboard | Enable telemetry on the Fibre clients generating traffic; server telemetry only supplies server metrics. | | No pprof endpoint | Add `--pprof` to the start command and connect to its configured address on the Fibre host. | | No continuous profiles | Check the Pyroscope endpoint, authentication values, and Fibre logs for export errors. | See the release's [observability reference](https://github.com/celestiaorg/celestia-app/blob/v10.4.0-mocha/fibre/cmd/README.md#observability) for more details. --- Title: The Celestia Foundation Delegation Program URL: https://docs.celestia.org/operate/consensus-validators/foundation-delegation-program.md Source: app/operate/consensus-validators/foundation-delegation-program/page.mdx --- # The Celestia Foundation Delegation Program ![Delegation program banner](/img/foundation-delegation-program.jpg) ## Objectives of the program The primary objectives of the Celestia Foundation Delegation Program are: - To provide a fair opportunity for Celestia’s users to join the validator set, while ensuring the validator set remains proficient, trustworthy, and dependable. - To maintain network stability by promoting a steady transition of validators and avoiding sudden and disruptive changes in participation. - To enable the Celestia Foundation to use its stake towards its mission of fostering a modular blockchain network that delivers exceptional performance. ## Foundation delegation process ### Program launch Prospective validators are welcome to apply to the program. The application is designed to assess a validator’s uptime performance and contributions to the Celestia ecosystem. Of the 100 total slots in Celestia’s active validator set, up to 35 will receive delegations within the program. Application submissions will be reviewed by the Celestia Foundation. More details about the application and eligibility criteria are described below. ### Cohort process ![cohort timeline](/img/cohort-timeline.png) Every 6 months, the Celestia Foundation will distribute a portion of the Foundation’s total available stake to a cohort of validators who meet certain criteria, detailed below. Here is an overview of how the cohort process will work. ### Key Points - The program is split into Cohorts every 6 months. - Each Cohort has to renew in 12 months, except the bottom 7 validators. - The bottom 7 validators renew every 6 months. - Open slots may be filled by existing Cohort members up for renewal or new applicants. | Cohort | Cohort size | Delegation duration | Renewal by cohort | Applications open | Applications close | Delegation begins | | --------- | ----------- | ------------------- | ----------------- | ----------------- | ------------------ | ----------------- | | Cohort 9 | 35 | 12 months | Cohort 11 | 1 October 2026 | 1 November 2026 | 1 December 2026 | | Cohort 10 | 7 | 6 months | Cohort 11 | 1 April 2027 | 1 May 2027 | 1 June 2027 | | Cohort 11 | 35 | 12 months | Cohort 13 | 1 October 2027 | 1 November 2027 | 1 December 2027 | | Cohort 12 | 7 | 6 months | Cohort 13 | 1 April 2028 | 1 May 2028 | 1 June 2028 | This structure allows for a steady flow of both existing applicants and new applicants to maintain a stable set of participants in the program. During this period, so long as the validator maintains high uptime and does not violate the rules of the program, the validator will receive the delegation for the duration of the cohort they are currently in. ### Eligibility criteria The minimum requirements for participation in the program are as follows: - Run an active Mainnet Beta validator **or** an active Mocha testnet validator for **at least 2 months before application deadline** - The validator has to have significant stake to be able to propose blocks - Not jailed more than once in the 6 months before application deadline - If jailed more than once in the 6 months period before application deadline, then we require a public forum post with detailed post mortem and we consider case by case - Not associated with an exchange or custodian - Not in the top 10 validators by delegation power, unless it enters the top 10 as a result of the Foundation’s delegation under this program - Have 25% or less commission - Not based within the US, within any country subject to economic sanctions, or within any other prohibited jurisdiction, and successfully complete a compliance screen - Dedicated email address so that the Foundation can reach you in the event of emergency upgrades and fixes - Not running your infrastructure in Hetzner or OVH (EU and US) - EU and US location is not recommended - Run Fibre once it is live Not adhering to any of the criteria above will automatically disqualify your application, and violating any of the criteria after you have received delegation will result in withdrawal of the delegation. A participant who loses stake due to being jailed by the protocol may reapply to the program after 2 cohort periods. Applicants are also expected to have reviewed Celestia docs and recommended guides on devops and monitoring setups. Other optional but important criteria: - Develop and maintain developer tooling, services, applications, and dashboards - Work on projects aligned with Celestia's values - Contribute to documentation and new guides and tutorials - Quality of infrastructure - Operated within a location that improves geolocation of the validator set ### Undelegation criteria - Getting slashed/tombstoned (cannot apply for 1 year afterwards) - Getting jailed more than once during the cohort’s applicable delegation period - Violating the [Celestia.org Community Code of Conduct](/learn/code-of-conduct) or engaging in harmful activities towards the network - Failing to upgrade your node in a timely manner (24 hours or less) - If necessary to protect or secure Mainnet Beta or to comply with applicable law - For any other reason, in the Celestia Foundation’s sole discretion ## Application The program will be divided into cohorts with applications open for new applicants and renewal of existing applicants every 6 months. Validators will be delegated for up to a year. For each cohort, the deadline to apply/be evaluated (if you are reapplying) is exactly 1 month prior to the date of being delegated to. Selected validators are required to support both Mainnet Beta and Mocha networks as an active validator and Fibre support (once Fibre is live). ### Application details Before applying, be ready to share the following: - General info - Security Email - Validator Entity Name - Discord ID - Mark if entity or individual - Website if any - Github page of your organization - Team experience and roster (including Twitter + Github links) - Which networks you validate on Mainnet + links to your validators - A personal statement why you should receive delegation from the Foundation (max 1500 characters) - Infrastructure - Validator address on Mainnet Beta - Validator address on Mocha testnet - Have you been slashed or jailed in the last 6 months on Celestia or other chains you validated on. - Hosting provider and Data Center location (Mainnet Beta and testnet if applicable) - Setup of the validator - Hardware - Security setup (servers, private keys) - Monitoring and alerting - Contributions - Please list all contributions for Celestia and its ecosystem Please note, the objective of the program is to contribute to Celestia’s resilience and uptime. If you contribute a lot to the Celestia ecosystem, but your validator uptime is low, this will negatively impact your chance at selection for the program. Furthermore, merely receiving delegation from the Foundation under the program does not guarantee your placement in the active validator set. [Get Started with the Application Form](https://forms.gle/RHTLvvkF4jHuaviEA) ## Cohort information The Foundation will report each cohort’s composition and the duration of their respective delegations. - [Cohort 1](https://docs.google.com/spreadsheets/d/1Fxu9uYJ4wxfHChEiSg5bmXAMU8IZSq7J3GYDCFgk1HA/edit#gid=0): 50 Validator Seats - [Cohort 2](https://docs.google.com/spreadsheets/d/1Fxu9uYJ4wxfHChEiSg5bmXAMU8IZSq7J3GYDCFgk1HA/edit?gid=855157686#gid=855157686): 15 Validator Seats (Applications open June 1, 2024) - [Cohort 3](https://docs.google.com/spreadsheets/d/1Fxu9uYJ4wxfHChEiSg5bmXAMU8IZSq7J3GYDCFgk1HA/edit?gid=1432570846#gid=1432570846): 15 Validator Seats (Applications open October 1, 2024) - [Cohort 4](https://docs.google.com/spreadsheets/d/1Fxu9uYJ4wxfHChEiSg5bmXAMU8IZSq7J3GYDCFgk1HA/edit?gid=1814073511#gid=1814073511): 20 Validator Seats (Applications open February 1, 2025) - [Cohort 5](https://docs.google.com/spreadsheets/d/1Fxu9uYJ4wxfHChEiSg5bmXAMU8IZSq7J3GYDCFgk1HA/edit?gid=1471991269#gid=1471991269): 15 Validator Seats (Applications open June 1, 2025) - [Cohort 6](https://docs.google.com/spreadsheets/d/1Fxu9uYJ4wxfHChEiSg5bmXAMU8IZSq7J3GYDCFgk1HA/edit?gid=1010270944): 15 Validator Seats (Applications open October 1, 2025) - [Cohort 7](https://forum.celestia.org/t/foundation-delegation-cohort-7-is-live/2232): 20 Validator Seats (Applications open February 1, 2026) - [Cohort 8](https://forum.celestia.org/t/foundation-delegation-cohort-8-is-live/2281): 15 Validator Seats (Applications open June 1, 2026) --- Title: Install celestia-app URL: https://docs.celestia.org/operate/consensus-validators/install-celestia-app.md Source: app/operate/consensus-validators/install-celestia-app/page.mdx --- # Install celestia-app This tutorial will guide you through installing celestia-app, both [from source](#building-binary-from-source) and with [a pre-built binary](#installing-a-pre-built-binary) Celestia-app is the software that enables you to run consensus nodes (including validators) and provide RPC endpoints. ## Supported architectures Celestia-app officially supports the following architectures: - linux/amd64 - linux/arm64 - darwin/amd64 (macOS Intel) - darwin/arm64 (macOS Apple Silicon) Only these four architectures are officially tested and supported. ## Linux requirements celestia-app v9 and later multiplexer binaries require glibc 2.38 or later. Use Ubuntu 24.04 LTS or an equivalent Linux distribution. Ubuntu 22.04 and older are not supported and the binary will fail to start with a glibc version mismatch. Check the installed glibc version before installing or upgrading: ```bash ldd --version ``` See the [celestia-app v9 release notes](https://github.com/celestiaorg/celestia-app/blob/v9.0.4/docs/release-notes/release-notes.md#supported-operating-systems) and the [Mocha release requirements](https://github.com/celestiaorg/celestia-app/releases/tag/v10.4.0-mocha) for the supported operating system details. ## Building binary from source This section of the tutorial assumes you completed the steps in [setting up your own environment](/operate/getting-started/environment-setup). The steps below will create a binary file named `celestia-appd` inside `$HOME/go/bin` folder which will be used later to run the node. Be sure to select the correct network to install the binary for. ## Installing a pre-built binary Installing a pre-built binary is the fastest way to get started with your Celestia consensus node. Releases after celestia-app v1.3.0 should have these binaries available. The steps below will download a binary file named `celestia-appd`. Depending on the setup that you choose during installation, the `celestia-appd` binary will be available at either: - `$HOME/celestia-app-temp/celestia-appd` - `/usr/local/bin/celestia-appd` Pre-built binaries are available for: - Operating systems: Darwin (Apple), Linux - Architectures: x86_64 (amd64), arm64 To install the latest, or a specific version of the pre-built binary you can run this command in your terminal: ```bash # Install latest version bash -c "$(curl -sL https://docs.celestia.org/celestia-app.sh)" # Install specific version, latest version for Mocha testnet in this example bash -c "$(curl -sL https://docs.celestia.org/celestia-app.sh)" -- -v v10.4.0-mocha ``` Follow the instructions in the terminal output to choose y
프로젝트로 돌아가기