Skip to content

Conversation

@rolodato
Copy link
Contributor

@rolodato rolodato commented Nov 14, 2024

Currently, the "Enable real-time flags" project setting is hardcoded to be only visible in SaaS. This PR makes it so that it's always visible, and adds documentation for self-hosting the SSE service.

@vercel
Copy link

vercel bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 6, 2025 4:01pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 6, 2025 4:01pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Jul 6, 2025 4:01pm

@github-actions github-actions bot added the front-end Issue related to the React Front End Dashboard label Jul 6, 2025
@rolodato rolodato changed the title docs: (WIP) Self-hosted realtime docs feat: Expose "Enable real-time flags" option when self-hosting, add docs Jul 6, 2025
@rolodato rolodato marked this pull request as ready for review July 6, 2025 16:00
@rolodato rolodato requested review from a team as code owners July 6, 2025 16:00
@rolodato rolodato requested review from khvn26 and kyle-ssg and removed request for a team July 6, 2025 16:00
@github-actions github-actions bot added docs Documentation updates feature New feature or request and removed docs Documentation updates labels Jul 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2025

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-4836 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-4836 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-4836 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-4836 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4836 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-4836 Finished ✅ Results

Comment on lines +100 to +107
<!--
The SSE service exposes the following Prometheus metrics at the `/metrics` endpoint:

- `flagsmith_sse_subscribers_active`: number of active subscribers
- `flagsmith_sse_subscribers_total`: total number of subscribers
- `flagsmith_sse_redis_commands_total`, with labels `command=SCAN|PING|SET`
- `flagsmith_sse_redis_errors_total`, with labels `command=SCAN|PING|SET`
-->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Should probably delete this
  2. I'd like to see an issue for implementing these, if we don't have it yet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an old PR here, which I never got the tests working for: https://github.com/Flagsmith/flagsmith-sse/pull/32

@tiagoapolo tiagoapolo merged commit 0e4c136 into main Jul 14, 2025
41 checks passed
@tiagoapolo tiagoapolo deleted the docs/realtime-self-hosted branch July 14, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants