-
Notifications
You must be signed in to change notification settings - Fork 196
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
[Bug] Data source connected, but no labels received. Verify that Loki and Promtail is configured properly #6083
Comments
Pls try:
|
I have tried “set log. enabel=true” and executed the command "kbcli dashboard open kubeblocks logs", as shown in the picture. It stuck and did not automatically open the page as expected. after, I entered the IP: 3000 of the machine where Loki was deployed in the browser, but there was no content. I don't know what the problem is. |
This is not important. This is a tool provided by kbcli to facilitate viewing the dashboard. Can you see the logs in your own way? apecloud-otel-collector addon disable logs collection by default. |
OTEL's logs: |
I am not sure how Agamotto configured the URL and port of Loki. Is it a problem with the port here? |
Specify loki endpoint when installing addon:
default using loki addon endpoint: |
Firstly, thank you for your reply. I have tried according to your instructions and there seems to be no change. I am currently unsure which step caused the problem. Let me provide a more detailed description of my actions:
|
Understood, but I found the container logs, it shows no data “http://127.0.0.1:13100/” I tried to access this address, but the local command kept getting stuck and cannot access it |
Are there any other solutions? |
Pls follow the steps below to troubleshoot
|
This issue has been marked as stale because it has been open for 30 days with no activity |
Describe the bug
I started loki, otel, and grafana using the “kbcli add on enable” command, and they ran normally. At present, the Loki prompt on the Grafana page reads "Data source connected, but no labels received. Verify that Loki and Promtail are configured properly."
To Reproduce
Steps to reproduce the behavior:
5.Open the Grafana page using a browser through the exposed port to the outside world,but the page displays an error
Expected behavior
Expected to see the log information collected by the otel
Screenshots
![image](https://private-user-images.githubusercontent.com/90227020/290130063-1b9246a2-7399-41ee-a59e-bc93e98b3e38.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NjMwMzEsIm5iZiI6MTczOTY2MjczMSwicGF0aCI6Ii85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OGMyMTRkNzdjNjc0Nzg2ZmM5MjM2NTY4MjdlZmM1NWZkMmQ1MTliMjBlMmNiZDA3ZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2cdBGOhDz_bq61WlsElvwg0U_KfC8NkJqUsJM6_dxxY)
![image](https://private-user-images.githubusercontent.com/90227020/290130279-12a2b107-b373-4008-8537-b4443598276f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NjMwMzEsIm5iZiI6MTczOTY2MjczMSwicGF0aCI6Ii85MDIyNzAyMC8yOTAxMzAyNzktMTJhMmIxMDctYjM3My00MDA4LTg1MzctYjQ0NDM1OTgyNzZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDIzMzg1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJlNWM1YzM1YWRiODY4MGM2NjdlM2VlNzhlMzJiYmJlNzVlMzdlODM1ODA1MWU3ZWQ1ZmJhNzg5NzRiYzg3NDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lQImS1PNgbGxDYiRRlPSCUr89D4nsCl6xy2cpTBotVY)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: