Enhance dashboard statistics with TED notice tracking
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
- Added a new field, ScrapedTEDNotices, to the StatisticsLifetimeTotals struct to track the total number of TED notices scraped. - Updated the Statistics method in the statistics repository to include a background process for retrieving total scraped TED notices, improving the accuracy of dashboard statistics. - Introduced new methods in the Counter to increment and retrieve daily counts for scraped TED notices, ensuring reliable metrics for reporting. - Modified the TEDScraper to increment the TED notice scraped counter upon successful import, enhancing the tracking of scraping activity. This update improves the dashboard's statistics by providing detailed insights into TED notice scraping activities, contributing to better data visibility and reporting.
This commit is contained in:
@@ -105,4 +105,5 @@ type StatisticsDailySeries struct {
|
||||
type StatisticsLifetimeTotals struct {
|
||||
ScrapedDocuments int64 `json:"scraped_documents"`
|
||||
TranslatedTenders int64 `json:"translated_tenders"`
|
||||
ScrapedTEDNotices int64 `json:"scraped_ted_notices"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user