Skip to content

Conversation

@sberan
Copy link
Contributor

@sberan sberan commented Jul 29, 2025

Description

curl command no longer exists in the base image. Use the standard http.client to fetch these stats.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How has this change been tested, please provide a testcase or example of how you tested the change?

Tested locally

Any specific deployment considerations

standard deploy

Docs

  • n/a, no external facing changes

@grzegorz-roboflow
Copy link
Collaborator

tested (as suggested by @sberan ):

docker run --rm -p 9001:9001 -v /var/run/docker.sock:/var/run/docker.sock -e ENABLE_PROMETHEUS=True -e DOCKER_SOCKET_PATH=/var/run/docker.sock --mount source=rfmodelweights,target=/tmp/cache roboflow/roboflow-inference-server-cpu:dev

curl -v localhost:9001/device/stats

@grzegorz-roboflow grzegorz-roboflow merged commit f4602bc into main Jul 30, 2025
39 checks passed
@grzegorz-roboflow grzegorz-roboflow deleted the inference-stats-use-http branch July 30, 2025 22:11
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