-
Notifications
You must be signed in to change notification settings - Fork 177
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
Following the readme, there is no result on the dashboard #260
Comments
Did you wait for a little while? Data has to be retrieved, and enriched, before it shows up in the dashboard. If you waited for say 10 min (likely less, but let's stay on the safe side), and still get nothing, please post here:
|
Sorry, I have waited for more than 10 min but there is still no results. Maybe it need more time to show up in the dashboard? Because there is no error or other tips on the console. |
I also used the 'docker-compose' to run the grimoirelab just, but on the dashboard, it showed 'Status: Red', and showed 'Status BreakDown plugin:metrics@6.1.4-1 Request Timeout after 3000ms'. |
The exact command I used to executed is:
|
Hi @Pretice, did you try to give more virtual memory to elasticsearch? |
Thank U so much, it works. But it still shows 'no results' on the dashboard, maybe it need some time to show up? |
You're welcome! If you are using the default conf files, it should take around 10 minutes. To check that the data is flowing to ElasticSearch, you can use the following command: |
There is something :
Does this mean I will continue to wait? |
The index If you want see some results quickly, you can analyze https://github.com/chaoss/grimoirelab-toolkit, which is a small repo in terms of commits and issues. To do so, please change the projects.json at https://github.com/chaoss/grimoirelab/blob/master/default-grimoirelab-settings/projects.json with the following content and re-execute the docker run.
|
Thank U, it works! Using the smaller repo, I can see some results in the dashboard quickly. But I can only see the results about author , commits and organizations. I want to see the resluts about Issues and merge, if I need more configuration in the projects.json and setup.json? |
Cool! Yes, you need to modify the projects.json and add some conf files. Please, find them below. projects.json
credentials.cfg
dashboard.cfg
docker command
Hope it helps! PS there are similar issues that may be useful for you: |
After modifing the three configurations above, there is another error when using the docker run:
|
If I change to use the docker-compose, I can see something access to "http://127.0.0.1:9200/_cat/indices?pretty"
The index |
That's possible, it worked for #233 (comment) |
@Pretice were you able to see data in the dashboard? |
Sorry for replying so late. After using a proxy, the index
So there is still no data in the dashborad about github. I can't find the reason about the question. |
That's possible that the error is due to a call to Sorry for the inconvenience, |
Thank u so much! I am looking forward to seeing the new release. |
Hi @Pretice , sorry for the late reply. Did you have time to check if the error is gone on your side? |
Sorry for replying so late. I have tried the lastest version 0.2.39 by using docker run to analyze data in grimoirelab-toolkit, and the configuration is the same as before. Unluckily, I still can only see results of Git, and there is no results of GitHub Issuses and GitHub PRs. What's more, I can't connect to "http://127.0.0.1:9200/_cat/indices?pretty". |
No worries @Pretice , thank you for answering! Can you try to use the docker-compose version (https://github.com/chaoss/grimoirelab#using-docker-compose)? The error you see with the aliases is due to a recent change in the format of the aliases.json (chaoss/grimoirelab-sirmordred@b6fa596#diff-b6d56075b6e9c4f45704f37afc64257e). Thanks |
@valeriocos , thank u. I just tried the docker-compose version, but the results were the same as using docker run, there was no results of GitHub issues and GitHub PRs. Using docker-compose, I can connect to "http://127.0.0.1:9200/_cat/indices?pretty", but the index github_demo_enriched is still empty: yellow open github_demo_enriched usGIatHbTxCwAD1v6qctmA 5 1 0 0 1.2kb 1.2kb BTW, I haven't mentioned the error with aliases before. Do you mean about connect to "http://127.0.0.1:9200/_cat/indices?pretty"? "askbot": {
"raw": ["askbot-raw"],
"enrich": ["askbot", "affiliations"]
} Do I need to change the format like this: "askbot": {
"raw": [
{
"alias": "askbot-raw"
}
],
"enrich": [
{
"alias": "askbot"
},
{
"alias": "affiliations"
},
{
"alias": "all_enriched"
}
]
} |
@valeriocos , when I used the {
"grimoirelab": {
"meta": {
"title": "GrimoireLab"
},
"git": [
"https://github.com/chaoss/grimoirelab-toolkit"
],
"github": [
"https://github.com/chaoss/grimoirelab-toolkit"
]
}
}
|
You're welcome @Pretice, and thank you for your quick reply! I'm checking the possible reason why you don't have GitHub data. ATM, I'm not able to replicate your issue. I'll keep you posted (sorry for the inconvenience)
Sorry for not being clear, yes the error you reported should be related to the changes in the aliases.json. I see that the file at https://github.com/chaoss/grimoirelab/blob/master/default-grimoirelab-settings/aliases.json isn't aligned with https://github.com/chaoss/grimoirelab-sirmordred/blob/master/aliases.json. Can you use the latter and in case the error is gone submit a PR to https://github.com/chaoss/grimoirelab to update the aliases.json? Thanks |
@valeriocos After changing the format of the
|
Can you check that the logs of your ES container are free from the message: The following troubleshooting section should help you to fix this: https://github.com/chaoss/grimoirelab-sirmordred/blob/master/Getting-Started.md#low-virtual-memory- If this doesn't fix the error, can you share the logs of your ES container? Thanks |
I used the command before using
But I can't connect to to 127.0.0.1 port 9200.
|
Hi @Pretice , sorry for the delay! I wasn't able to replicate your exact problem, but the docker-compose at https://github.com/chaoss/grimoirelab/tree/master/docker-compose wasn't updated to the latest version. Please can you fetch the latest changes from the grimoirelab repo and run the docker-compose again? Thanks |
I use the lastest grimoirelab repo to run the docker-compose, but it shows error in the terminal:
|
I pruned all images, containers and volumes and started the docker-compose, and I'm not able to replicate your problem.
It could be a connection problem with dockerhub, or maybe at some point your connection wasn't stable? |
I think my connection is unstable today, I'll try it later. |
Hi there @Pretice, did you have the opportunity to run the |
Hi @Pretice , let's close this issue. Feel free to reopen it if needed. |
Following the readme, I use docker run to run grimoirelab. However, it shows 'No results displayed because all values equal 0'. So what can I do to resolve this?
The text was updated successfully, but these errors were encountered: