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

The private probe doesn't appear on the page after installation #345

Open
ficapy opened this issue Sep 27, 2022 · 3 comments
Open

The private probe doesn't appear on the page after installation #345

ficapy opened this issue Sep 27, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@ficapy
Copy link

ficapy commented Sep 27, 2022

I installed Grafana Cloud as follows

sudo ARCH=amd64 GCLOUD_STACK_ID="" GCLOUD_API_KEY="" GCLOUD_API_URL="https://integrations-api-us-central.grafana.net" /bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/release/production/grafanacloud-install.sh)"

Then, synthetic monitoring was enabled and installed private probes

But after running successfully, I don't see my registered private probes in the probes page

docker run grafana/synthetic-monitoring-agent --api-server-address="synthetic-monitoring-grpc.grafana.net:443" --api-token="" --verbose --debug
{"level":"info","program":"synthetic-monitoring-agent","version":"v0.9.4-0-g18710e2","commit":"18710e22086cd3f261ee01d549033c1971ee474d","buildstamp":"2022-08-23 18:54:42+00:00","features":"","time":1664244904781,"caller":"github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent/main.go:101","message":"starting"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] Channel created"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] original dial target is: \"synthetic-monitoring-grpc.grafana.net:443\""}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] parsed dial target is: {Scheme:synthetic-monitoring-grpc.grafana.net Authority: Endpoint:443 URL:{Scheme:synthetic-monitoring-grpc.grafana.net Opaque:443 User: Host: Path: RawPath: ForceQuery:false RawQuery: Fragment: RawFragment:}}"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] fallback to scheme \"passthrough\""}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] parsed dial target is: {Scheme:passthrough Authority: Endpoint:synthetic-monitoring-grpc.grafana.net:443 URL:{Scheme:passthrough Opaque: User: Host: Path:/synthetic-monitoring-grpc.grafana.net:443 RawPath: ForceQuery:false RawQuery: Fragment: RawFragment:}}"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] Channel authority set to \"synthetic-monitoring-grpc.grafana.net\""}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] Resolver state updated: {\n  \"Addresses\": [\n    {\n      \"Addr\": \"synthetic-monitoring-grpc.grafana.net:443\",\n      \"ServerName\": \"\",\n      \"Attributes\": null,\n      \"BalancerAttributes\": null,\n      \"Type\": 0,\n      \"Metadata\": null\n    }\n  ],\n  \"ServiceConfig\": null,\n  \"Attributes\": null\n} (resolver returned new addresses)"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] Channel switches to new LB policy \"pick_first\""}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1 SubChannel #2] Subchannel created"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904781,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904782,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1 SubChannel #2] Subchannel picks a new address \"synthetic-monitoring-grpc.grafana.net:443\" to connect"}
{"program":"synthetic-monitoring-agent","subsystem":"http","time":1664244904782,"caller":"log/log.go:184","message":"Starting HTTP server on :4050..."}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904782,"message":"2022/09/27 02:15:04 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0xc0000ab780, {CONNECTING <nil>}"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244904782,"message":"2022/09/27 02:15:04 INFO: [core] [Channel #1] Channel Connectivity change to CONNECTING"}
2022/09/27 02:15:05 RequireTransportSecurity
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244905490,"message":"2022/09/27 02:15:05 INFO: [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to READY"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244905490,"message":"2022/09/27 02:15:05 INFO: [core] pickfirstBalancer: UpdateSubConnState: 0xc0000ab780, {READY <nil>}"}
{"program":"synthetic-monitoring-agent","component":"grpc-go","time":1664244905490,"message":"2022/09/27 02:15:05 INFO: [core] [Channel #1] Channel Connectivity change to READY"}
{"level":"info","program":"synthetic-monitoring-agent","subsystem":"updater","time":1664244905490,"caller":"github.com/grafana/synthetic-monitoring-agent/internal/checks/checks.go:301","message":"fetching check configuration from synthetic-monitoring-api"}
{"level":"info","program":"synthetic-monitoring-agent","subsystem":"updater","probe_id":3769,"probe_name":"50.21","time":1664244905724,"caller":"github.com/grafana/synthetic-monitoring-agent/internal/checks/checks.go:352","message":"registered probe with synthetic-monitoring-api"}
@ficapy
Copy link
Author

ficapy commented Sep 27, 2022

I found that after 30 minutes the page was displayed normally
Also, it takes a long time to add a check (about 10 minutes)
Is this a bug? Or is it a low priority for free users and normal for paid users?

@mem
Copy link
Collaborator

mem commented Sep 27, 2022

No, there's no difference in priority.

And it should not take that long to show up.

I'm going to check on our side to see if I can find anything.

This is weird, though:

docker run grafana/synthetic-monitoring-agent --api-server-address="synthetic-monitoring-grpc.grafana.net:443" --api-token="" --verbose --debug

is the API token blank because you are redacting it, or because it's actually blank?

@mem mem added the bug Something isn't working label Sep 27, 2022
@ficapy
Copy link
Author

ficapy commented Sep 28, 2022

I edited it, it's not empty

It works as it is now, but it takes more than thirty minutes to add the probe and check before it shows up on the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants