Skip to content

Conversation

@toph-allen
Copy link
Collaborator

@toph-allen toph-allen commented May 19, 2025

Fixes #127

The Publisher Command Center could not be published by a Publisher because it called the unversioned, admin-only metrics/procs endpoint. It used this to display CPU and memory usage for processes.

I removed those calls and removed their display from the UI, so now the content will run successfully with a Publisher API key.

I deployed the content to my local dev Connect environment and confirmed that it could run from a Publisher account, kill processes, etc.

I bumped the version so that it releases to the gallery. @fizzboop this might affect your open PR on the same piece of content — we can coordinate on that if we need to!

Screenshots attached showing before and after:

Screen Shot 2025-05-19 at 04 31 26 PM@2x Screen Shot 2025-05-19 at 05 13 11 PM@2x

Copy link
Collaborator

@jonkeane jonkeane left a comment

Choose a reason for hiding this comment

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

I'm fine to remove this for now — it would be nice to display this information if we could get to it — are there already issue(s) for exposing that (probably at least one in Connect itself?)

@toph-allen
Copy link
Collaborator Author

I'll file one

Copy link
Contributor

@tdstein tdstein left a comment

Choose a reason for hiding this comment

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

Agreed. It would be awesome to expose these types of metrics to publishers so they can understand application performance.

@toph-allen
Copy link
Collaborator Author

@toph-allen toph-allen merged commit 6facc96 into main May 20, 2025
14 checks passed
@toph-allen toph-allen deleted the toph/publisher-command-center-publish-as-publisher branch May 20, 2025 13:44
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.

Publisher Command Center: does not work if deployed by a Publisher

4 participants