Hygieia-collector not pulling in data.
Closed this issue · 1 comments
Hey @Sbrenthughes @rvema , I followed all the steps and have successfully setup the scm-graphql-collector, and it shows no errors while starting the collector too, but it shows the total repo counts and all other data to be 0.
2021-04-29 17:18:42,717 [main] INFO com.capitalone.dashboard.Application - Started Application in 28.966 seconds (JVM running for 30.774)
2021-04-29 17:20:00,008 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Getting Collector: GitHub
2021-04-29 17:20:00,039 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Starting Collector=GitHub
2021-04-29 17:20:00,129 [taskScheduler-1] INFO c.c.d.collector.GitHubCollectorTask - GitHubCollectorTask:collect start, total enabledRepos=0
2021-04-29 17:20:00,129 [taskScheduler-1] WARN c.c.d.collector.GitHubCollectorTask - error threshold error_threshold=1000
2021-04-29 17:20:00,130 [taskScheduler-1] INFO c.c.d.collector.GitHubCollectorTask - GitHubCollectorTask:collect stop, totalProcessSeconds=0, totalRepoCount=0, totalNewPulls=0, totalNewCommits=0 totalNewIssues=0
2021-04-29 17:20:00,141 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Finished running collector_name=GitHub collector_run_duration=0 collector_items_count=0
the application .properties file looks like:
Database Name
dbname=dashboarddb
Database HostName - default is localhost
dbhost=localhost
Database Port - default is 27017
dbport=27017
server.contextPath=/github
server.port=9082
MongoDB replicaset
dbreplicaset=false
dbhostport=[host1:port1,host2:port2,host3:port3]
Database Username - default is blank
dbusername=
Database Password - default is blank
dbpassword=
Proxy URL
#github.proxy=
Proxy Port
#github.proxyPort=
Proxy user if auth is required
#github.proxyUser=
Proxy password if auth is required
#github.proxyPassword=
Logging File location
logging.file=./logs/github.log
Collector schedule (required)
github.cron=0 0/2 * * * *
github.host=api.github.com
github.firstRunHistoryDays=60
github.rateLimitThreshold=100
github.graphqlUrl=https://api.github.com/graphql
github.baseApiUrl=https://api.github.com/
Maximum number of previous days from current date, when fetching commits
github.commitThresholdDays=50
A filter of commits with subject containing the pattern that will be filtered
#github.notBuiltCommits[0]=(.)(\[maven-release-plugin\])(.)
#github.notBuiltCommits[1]=(.)(orion committed files to rewardsone-chef\/environments\/environments\/rewards_sparkearnengine\_)(.)(json)
Optional: Error threshold count after which collector stops collecting for a collector item. Default is 2.
github.errorThreshold=1000
This is the key generated using the Encryption class in core
github.key=
Personal access token generated from github and used for making authentiated calls
github.personalAccessToken=
Github repository Connect Timeout value in milliseconds, default value is 20000 (20s)
github.connectTimeout=20000
Github repository Read Timeout value in milliseconds, default value is 20000 (20s)
github.readTimeout=60000
github.commitPullSyncTime=10800000
github.offsetMinutes=2
github.fetchCount=25
github.collectChangedReposOnly=false
github.privateReposCollectionTime=7200000
#github.searchCriteria=
Any insights would be much appreciated!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.