Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add light client support #327

Merged
merged 4 commits into from
Feb 27, 2024
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
2 changes: 1 addition & 1 deletion charts/polkadot-introspector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: polkadot-introspector
description: A Helm chart to deploy polkadot-introspector
type: application
version: 0.4.6
version: 0.5.0
appVersion: "1.0.0"
maintainers:
- name: Parity
Expand Down
3 changes: 2 additions & 1 deletion charts/polkadot-introspector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This is intended behaviour. Make sure to run `git add -A` once again to stage ch

The helm chart installs the [Polkadot introspector](https://github.com/paritytech/polkadot-introspector).

![Version: 0.4.6](https://img.shields.io/badge/Version-0.4.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)

## Maintainers

Expand Down Expand Up @@ -54,6 +54,7 @@ helm install polkadot-introspector parity/polkadot-introspector
| ingress.tls | list | `[]` | Ingress TLS configuration |
| introspector.enableAllParas | bool | `false` | Automatically collect metrics for all parachain when in pararchain-tracer mode |
| introspector.extraArgs | list | `[]` | Extra args to pass to the introspector command |
| introspector.lightClient | bool | `false` | Enable light client |
| introspector.paraIds | list | `[]` | Parachain ID for which to collect metrics when in pararchain-tracer mode |
| introspector.prometheusPort | int | `9615` | Prometheus Port to expose the metrics |
| introspector.role | string | `"block-time"` | Main subcommand to use by introspector (block-time,parachain-tracer) |
Expand Down
3 changes: 3 additions & 0 deletions charts/polkadot-introspector/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ spec:
{{- end }}
{{- end }}
--ws {{ join "," .Values.introspector.rpcNodes }} \
{{- if .Values.introspector.lightClient }}
--client light \
{{- end }}
{{- if .Values.introspector.verboseLogging }}
-v \
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/polkadot-introspector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ introspector:
prometheusPort: 9615
# -- Enable verbose logging
verboseLogging: false
# -- Enable light client
lightClient: false
# -- Extra args to pass to the introspector command
extraArgs: []

Expand Down
Loading