Skip to content

Conversation

@alesj
Copy link
Contributor

@alesj alesj commented Nov 26, 2025

See issue #880.

@zeitlinger something like this?

Although when I run newly built image

I get this:

curl localhost:9090/api/v1/query?query=up       
zsh: no matches found: localhost:9090/api/v1/query?query=up

Should it return something?

@CLAassistant
Copy link

CLAassistant commented Nov 26, 2025

CLA assistant check
All committers have signed the CLA.

@alesj
Copy link
Contributor Author

alesj commented Nov 26, 2025

OK, wrong curl ... need to escape it

curl "localhost:9090/api/v1/query?query=up"       
curl: (7) Failed to connect to localhost port 9090 after 0 ms: Couldn't connect to server

but still nothing ...

@alesj
Copy link
Contributor Author

alesj commented Nov 26, 2025

Ah ... OK, run-lgtm.sh ... doh

curl "localhost:9090/api/v1/query?query=up"
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"up","instance":"c878f04e-58b5-48d4-94ec-45cb870f54e3","job":"otelcol-contrib","service_instance_id":"c878f04e-58b5-48d4-94ec-45cb870f54e3","service_name":"otelcol-contrib","service_version":"0.139.0"},"value":[1764162757.723,"1"]}]}}%

and

788f32396cb3   grafana/otel-lgtm:latest   "/otel-lgtm/run-all.…"   About a minute ago   Up About a minute   0.0.0.0:3000->3000/tcp, 0.0.0.0:4040->4040/tcp, 0.0.0.0:4317-4318->4317-4318/tcp, 0.0.0.0:9090->9090/tcp   lgtm

@martincostello martincostello merged commit 74b48d5 into grafana:main Nov 26, 2025
9 checks passed
@martincostello
Copy link
Member

Thanks @alesj!

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