Skip to content

Comments

feat(cli): Enhanced InproxyProxyActivity notices; new parameters#199

Merged
tmgrask merged 6 commits intomainfrom
tasker/cli-inproxy-metrics-update
Feb 20, 2026
Merged

feat(cli): Enhanced InproxyProxyActivity notices; new parameters#199
tmgrask merged 6 commits intomainfrom
tasker/cli-inproxy-metrics-update

Conversation

@tmgrask
Copy link
Collaborator

@tmgrask tmgrask commented Feb 19, 2026

  • Bump psiphon-tunnel-core dependency to commit 85311186
  • Replace --max-clients with separate --max-common-clients and --max-personal-clients flags to support personal proxy compartments alongside common proxying
  • Add new-compartment-id command to generate, persist, and share personal compartment IDs via v1 pairing tokens
  • Add --set key=value flag for passing arbitrary Psiphon config overrides
  • Consume new personalRegionActivity / commonRegionActivity maps from InproxyProxyActivity notices; accumulate per-region byte totals and client counts
  • Expose per-region activity as Prometheus metrics (conduit_region_bytes_uploaded, conduit_region_bytes_downloaded, conduit_region_connecting_clients, conduit_region_connected_clients) with scope and region labels
  • Include region summary in [STATS] log lines
  • Add unit tests for region activity accumulation, compartment ID lifecycle, config precedence, and --set override parsing

…f silently defaulting

When an operator explicitly sets both max-common-clients and
max-personal-clients to 0 (via flags, --set, or config file), fail with
a clear error instead of silently overwriting common to 50. The default
fallback is preserved only when nothing was explicitly configured.
@tmgrask tmgrask merged commit 87c0cad into main Feb 20, 2026
4 checks passed
@tmgrask tmgrask deleted the tasker/cli-inproxy-metrics-update branch February 20, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant