mirror of https://github.com/citusdata/citus.git
29 lines
677 B
C
29 lines
677 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* statistics_collection.h
|
|
*
|
|
* Copyright (c) 2017, Citus Data, Inc.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef STATISTICS_COLLECTION_H
|
|
#define STATISTICS_COLLECTION_H
|
|
|
|
#include "citus_version.h"
|
|
|
|
/* Config variables managed via guc.c */
|
|
extern bool EnableStatisticsCollection;
|
|
|
|
#ifdef HAVE_LIBCURL
|
|
|
|
#define STATS_COLLECTION_HOST "https://citus-statistics.herokuapp.com"
|
|
#define HTTP_TIMEOUT_SECONDS 5
|
|
|
|
extern void WarnIfSyncDNS(void);
|
|
extern bool CollectBasicUsageStatistics(void);
|
|
|
|
#endif /* HAVE_LIBCURL */
|
|
|
|
#endif /* STATISTICS_COLLECTION_H */
|