Skip to main content

constants

DEFAULT_ENDPOINT​

const DEFAULT_ENDPOINT: "https://gqlmd-telemetry.graphql-markdown.workers.dev/v1/event" =
"https://gqlmd-telemetry.graphql-markdown.workers.dev/v1/event";

Defined in: constants.ts:9

Telemetry endpoint: the Cloudflare Worker ingest (workers.dev, see github.com/graphql-markdown/telemetry). Overridable with GRAPHQL_MARKDOWN_TELEMETRY_ENDPOINT.


GZIP_THRESHOLD​

const GZIP_THRESHOLD: 1024 = 1024;

Defined in: constants.ts:16

Body size (bytes) above which the request is gzipped.


MAX_SENT_CONFIGS​

const MAX_SENT_CONFIGS: 20 = 20;

Defined in: constants.ts:13

Number of config fingerprints kept in telemetry.json.


NOTICE_VERSION​

const NOTICE_VERSION: 1 = 1;

Defined in: constants.ts:2

Current consent notice version; bump when a new category of data is added.


TIMEOUT_MS​

const TIMEOUT_MS: 1000 = 1000;

Defined in: constants.ts:19

Request timeout in milliseconds.