MCPcopy Create free account

hub / github.com/cloudflare/cloudflare-prometheus-exporter / functions

Functions391 in github.com/cloudflare/cloudflare-prometheus-exporter

MethodclearTimeout
(timeoutId: number | null)
worker-configuration.d.ts:324
Methodclone
* The **`clone()`** method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.
worker-configuration.d.ts:1672
Methodclone
* The **`clone()`** method of the Request interface creates a copy of the current `Request` object. * * [MDN Reference](https://developer.mo
worker-configuration.d.ts:1747
Methodclose
* The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing. * * [MDN Reference](https://developer.mozilla.or
worker-configuration.d.ts:3074
Methodclose
()
worker-configuration.d.ts:3140
Methodclosed
()
worker-configuration.d.ts:3136
Methodcomments
(comment: Comment)
worker-configuration.d.ts:1491
Methodcomments
(comment: Comment)
worker-configuration.d.ts:1496
Methodcomplete
(uploadedParts: R2UploadedPart[])
worker-configuration.d.ts:1965
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an idential socket to if
worker-configuration.d.ts:9643
Methodconstructor
(private readonly maximumValueBytes: number)
src/lib/chunked-storage.test.ts:13
Methodconstructor
* Create a CloudflarePrometheusError. * * @param message Error message. * @param code Error code. * @param options Error options.
src/lib/errors.ts:66
Methodconstructor
* Create an ApiError. * * @param message Error message. * @param options Error options.
src/lib/errors.ts:116
Methodconstructor
* Create a GraphQLError. * * @param message Error message. * @param graphqlErrors GraphQL error details. * @param options Error options.
src/lib/errors.ts:175
Methodconstructor
* Create a ConfigError. * * @param message Error message. * @param options Error options.
src/lib/errors.ts:221
Methodconstructor
* Create a StateNotInitializedError. * * @param component Component name. * @param options Error options.
src/lib/errors.ts:257
Methodconstructor
* Create a TimeoutError. * * @param operation Operation name. * @param timeoutMs Timeout in milliseconds. * @param options Error options.
src/lib/errors.ts:286
Methodconstructor
* Create a ValidationError. * * @param message Error message. * @param options Error options.
src/lib/errors.ts:347
Methodconstructor
(ctx: DurableObjectState, env: Env)
src/durable-objects/AccountMetricCoordinator.ts:76
Methodconstructor
* Constructs MetricCoordinator and initializes state from storage. * * @param ctx Durable Object state. * @param env Worker environment bindings
src/durable-objects/MetricCoordinator.ts:44
Methodconstructor
(ctx: DurableObjectState, env: Env)
src/durable-objects/MetricExporter.ts:91
Methodconstructor
(ctx: DurableObjectState, env: Env)
src/test/cloudflare-workers.ts:5
Methodconstructor
(config: CloudflareMetricsClientConfig)
src/cloudflare/client.ts:199
MethodcontentType
* The content type of the returned image
worker-configuration.d.ts:9794
MethodcontentType
* Returns the MIME type of the transformed media. * @returns The content type string (e.g., 'image/jpeg', 'video/mp4')
worker-configuration.d.ts:9860
Methodcount
* The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called. * * [MDN Referenc
worker-configuration.d.ts:142
MethodcountReset
* The **`console.countReset()`** static method resets counter used with console/count_static. * * [MDN Reference](https://developer.mozilla.
worker-configuration.d.ts:148
MethoddatabaseSize
()
worker-configuration.d.ts:3110
Methoddebug
* The **`console.debug()`** static method outputs a message to the console at the 'debug' log level. * * [MDN Reference](https://developer.m
worker-configuration.d.ts:154
Methoddelete
(key: string, options?: DurableObjectPutOptions)
worker-configuration.d.ts:557
Methoddelete
(key: string, options?: DurableObjectPutOptions)
worker-configuration.d.ts:570
Methoddelete
(key: string)
worker-configuration.d.ts:3294
Methoddelete
(keys: string[])
src/durable-objects/MetricExporter.test.ts:28
MethoddeleteAlarm
(options?: DurableObjectSetAlarmOptions)
worker-configuration.d.ts:562
MethoddeleteAlarm
(options?: DurableObjectSetAlarmOptions)
worker-configuration.d.ts:576
MethoddeleteAll
(options?: DurableObjectPutOptions)
worker-configuration.d.ts:572
MethoddeleteMany
(keys: string[])
src/lib/chunked-storage.test.ts:51
MethoddeserializeAttachment
()
worker-configuration.d.ts:3076
Methoddestroy
(error?: any)
worker-configuration.d.ts:3215
Methoddir
* The **`console.dir()`** static method displays a list of the properties of the specified JavaScript object. * * [MDN Reference](https://de
worker-configuration.d.ts:160
Methoddirxml
* The **`console.dirxml()`** static method displays an interactive tree of the descendant elements of the specified XML/HTML element. * * [M
worker-configuration.d.ts:166
Methoddoctype
(doctype: Doctype)
worker-configuration.d.ts:1495
Methoddraw
* Draw an image on this transformer, returning a transform handle. * You can then apply more transformations, draw, or retrieve the output.
worker-configuration.d.ts:9775
Methoddup
()
worker-configuration.d.ts:10085
Methodelement
(element: Element)
worker-configuration.d.ts:1490
Methodend
(end: DocumentEnd)
worker-configuration.d.ts:1498
Methodequals
(other: DurableObjectId)
worker-configuration.d.ts:512
Methoderror
* The **`console.error()`** static method outputs a message to the console at the 'error' log level. * * [MDN Reference](https://developer.m
worker-configuration.d.ts:172
Methodexport
* Collects and aggregates metrics from all MetricExporter DOs. * * @returns Metrics and zone counts.
src/durable-objects/AccountMetricCoordinator.ts:331
Methodexport
* Collects metrics from all accounts and serializes to Prometheus format. * * @returns Prometheus-formatted metrics string.
src/durable-objects/MetricCoordinator.ts:144
Methodfetch
(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>)
worker-configuration.d.ts:331
Methodfetch
(request: Request)
worker-configuration.d.ts:500
MethodfetchOptions
()
src/cloudflare/client.ts:212
Methodforward
* Forward this email message to a verified destination address of the account. * @param rcptTo Verified destination address. * @param header
worker-configuration.d.ts:9590
MethodfromTrace
(item: TraceItem)
worker-configuration.d.ts:2713
Methodget
(key: string, options?: DurableObjectGetOptions)
worker-configuration.d.ts:552
Methodget
(key: string, options?: DurableObjectGetOptions)
worker-configuration.d.ts:565
Methodget
(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>)
worker-configuration.d.ts:1839
Methodget
(key: string)
worker-configuration.d.ts:3288
Methodget
(name: string, getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>)
worker-configuration.d.ts:3311
Methodget
* Retrieve the current stored value
worker-configuration.d.ts:9622
Methodget
* Get a secret from the Secrets Store, returning a string of the secret value * if it exists, or throws an error if it does not exist
worker-configuration.d.ts:10271
Methodget
* @param name Name of the Worker script. * @param args Arguments to Worker script. * @param options Options for Dynamic Dispatch invocation.
worker-configuration.d.ts:10777
Methodget
(key: string)
src/lib/chunked-storage.test.ts:15
Methodget
* Gets or creates coordinator stub for account and ensures coordinator is initialized before returning. * * @param accountId Cloudflare account ID
src/durable-objects/AccountMetricCoordinator.ts:123
Methodget
* Gets or creates singleton MetricCoordinator instance. * * @param env Worker environment bindings. * @returns Initialized MetricCoordinator stu
src/durable-objects/MetricCoordinator.ts:32
Methodget
(keyOrKeys: string | string[])
src/durable-objects/MetricExporter.test.ts:9
Methodget
* Get or create a MetricExporter instance by ID, ensuring it's initialized. * * @param id Composite ID in format "scopeType:scopeId:queryName".
src/durable-objects/MetricExporter.ts:159
MethodgetAlarm
(options?: DurableObjectGetAlarmOptions)
worker-configuration.d.ts:560
MethodgetAlarm
(options?: DurableObjectGetAlarmOptions)
worker-configuration.d.ts:574
MethodgetAttribute
(name: string)
worker-configuration.d.ts:1510
MethodgetBookmarkForTime
(timestamp: number | Date)
worker-configuration.d.ts:582
MethodgetCurrentBookmark
()
worker-configuration.d.ts:581
MethodgetEntrypoint
(name?: string, options?: WorkerStubEntrypointOptions)
worker-configuration.d.ts:3305
MethodgetHibernatableWebSocketEventTimeout
()
worker-configuration.d.ts:547
MethodgetHttpMetrics
* Fetches HTTP metrics via GraphQL (raw query, not processed). * For processed metrics use getZoneMetrics with "http-metrics" query. * * @param
src/cloudflare/client.ts:237
MethodgetMany
(keys: string[])
src/lib/chunked-storage.test.ts:19
MethodgetReader
* The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it. * * [MDN Reference](https://deve
worker-configuration.d.ts:2166
MethodgetTags
(ws: WebSocket)
worker-configuration.d.ts:548
MethodgetTcpPort
(port: number)
worker-configuration.d.ts:3217
MethodgetUnredacted
()
worker-configuration.d.ts:2670
MethodgetWebSocketAutoResponse
()
worker-configuration.d.ts:544
MethodgetWebSocketAutoResponseTimestamp
(ws: WebSocket)
worker-configuration.d.ts:545
MethodgetWebSockets
(tag?: string)
worker-configuration.d.ts:542
MethodgetWithMetadata
(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>)
worker-configuration.d.ts:1855
Methodgroup
* The **`console.group()`** static method creates a new inline group in the Web console log, causing any subsequent console messages to be indented by
worker-configuration.d.ts:178
MethodgroupCollapsed
* The **`console.groupCollapsed()`** static method creates a new inline group in the console. * * [MDN Reference](https://developer.mozilla.
worker-configuration.d.ts:184
MethodgroupEnd
* The **`console.groupEnd()`** static method exits the current inline group in the console. * * [MDN Reference](https://developer.mozilla.or
worker-configuration.d.ts:190
MethodhandleEvent
(event: EventType)
worker-configuration.d.ts:755
MethodhasAttribute
(name: string)
worker-configuration.d.ts:1511
Methodimage
* The bytes of the response
worker-configuration.d.ts:9798
Methodinfo
* The **`console.info()`** static method outputs a message to the console at the 'info' log level. * * [MDN Reference](https://developer.moz
worker-configuration.d.ts:196
Methodinfo
* Get image metadata (type, width and height) * @throws {@link ImagesError} with code 9412 if input is not an image * @param stream The imag
worker-configuration.d.ts:9754
Methodinput
* Begin applying a series of transformations to an image * @param stream The image bytes * @returns A transform handle
worker-configuration.d.ts:9760
Methodinput
* Creates a media transformer from an input stream. * @param media - The input media bytes * @returns A MediaTransformer instance for applyi
worker-configuration.d.ts:9815
FunctionisRetryable
(error: unknown)
src/lib/errors.ts:415
Methodlist
(options?: DurableObjectListOptions)
worker-configuration.d.ts:554
Methodlist
(options?: DurableObjectListOptions)
worker-configuration.d.ts:567
Methodlist
(options?: SyncKvListOptions)
worker-configuration.d.ts:3289
Methodlisten
(...args: unknown[])
worker-configuration.d.ts:9913
← previousnext →201–300 of 391, ranked by callers