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

expose metrics for sidecar container #255

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

theobarberbany
Copy link
Contributor

This will expose metrics for the sidecar container. We use ports 8080
and 8090 as these are the metrics ports for PubSubTle and SideWrap
respectively.

This should allow us to scrape metrics about the health of the
two containers that power console session recording.

This will expose metrics for the sidecar container. We use ports 8080
and 8090 as these are the metrics ports for PubSubTle and SideWrap
respectively.

This should allow us to scrape metrics about the health of the
two containers that power console session recording.
@theobarberbany theobarberbany merged commit cbcec87 into master Dec 16, 2021
@theobarberbany theobarberbany deleted the tb/sidecar-metrics-ports branch December 16, 2021 17:10
Copy link
Contributor

@benwh benwh left a comment

Choose a reason for hiding this comment

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

Generally the convention is to start the ports at 9100 and above

https://github.com/prometheus/prometheus/wiki/Default-port-allocations

No big deal here as it's a containerised environment, but port 8080 does slightly violate the "principle of least surprise" 😄

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.

3 participants