Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/cloudflare-prometheus-exporter
/ functions
Functions
391 in github.com/cloudflare/cloudflare-prometheus-exporter
⨍
Functions
391
◇
Types & classes
466
Method
clearTimeout
(timeoutId: number | null)
worker-configuration.d.ts:324
Method
clone
* 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
Method
clone
* 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
Method
close
* The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing. * * [MDN Reference](https://developer.mozilla.or
worker-configuration.d.ts:3074
Method
close
()
worker-configuration.d.ts:3140
Method
closed
()
worker-configuration.d.ts:3136
Method
comments
(comment: Comment)
worker-configuration.d.ts:1491
Method
comments
(comment: Comment)
worker-configuration.d.ts:1496
Method
complete
(uploadedParts: R2UploadedPart[])
worker-configuration.d.ts:1965
Method
connect
* 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
Method
constructor
(private readonly maximumValueBytes: number)
src/lib/chunked-storage.test.ts:13
Method
constructor
* Create a CloudflarePrometheusError. * * @param message Error message. * @param code Error code. * @param options Error options.
src/lib/errors.ts:66
Method
constructor
* Create an ApiError. * * @param message Error message. * @param options Error options.
src/lib/errors.ts:116
Method
constructor
* Create a GraphQLError. * * @param message Error message. * @param graphqlErrors GraphQL error details. * @param options Error options.
src/lib/errors.ts:175
Method
constructor
* Create a ConfigError. * * @param message Error message. * @param options Error options.
src/lib/errors.ts:221
Method
constructor
* Create a StateNotInitializedError. * * @param component Component name. * @param options Error options.
src/lib/errors.ts:257
Method
constructor
* Create a TimeoutError. * * @param operation Operation name. * @param timeoutMs Timeout in milliseconds. * @param options Error options.
src/lib/errors.ts:286
Method
constructor
* Create a ValidationError. * * @param message Error message. * @param options Error options.
src/lib/errors.ts:347
Method
constructor
(ctx: DurableObjectState, env: Env)
src/durable-objects/AccountMetricCoordinator.ts:76
Method
constructor
* Constructs MetricCoordinator and initializes state from storage. * * @param ctx Durable Object state. * @param env Worker environment bindings
src/durable-objects/MetricCoordinator.ts:44
Method
constructor
(ctx: DurableObjectState, env: Env)
src/durable-objects/MetricExporter.ts:91
Method
constructor
(ctx: DurableObjectState, env: Env)
src/test/cloudflare-workers.ts:5
Method
constructor
(config: CloudflareMetricsClientConfig)
src/cloudflare/client.ts:199
Method
contentType
* The content type of the returned image
worker-configuration.d.ts:9794
Method
contentType
* Returns the MIME type of the transformed media. * @returns The content type string (e.g., 'image/jpeg', 'video/mp4')
worker-configuration.d.ts:9860
Method
count
* 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
Method
countReset
* The **`console.countReset()`** static method resets counter used with console/count_static. * * [MDN Reference](https://developer.mozilla.
worker-configuration.d.ts:148
Method
databaseSize
()
worker-configuration.d.ts:3110
Method
debug
* 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
Method
delete
(key: string, options?: DurableObjectPutOptions)
worker-configuration.d.ts:557
Method
delete
(key: string, options?: DurableObjectPutOptions)
worker-configuration.d.ts:570
Method
delete
(key: string)
worker-configuration.d.ts:3294
Method
delete
(keys: string[])
src/durable-objects/MetricExporter.test.ts:28
Method
deleteAlarm
(options?: DurableObjectSetAlarmOptions)
worker-configuration.d.ts:562
Method
deleteAlarm
(options?: DurableObjectSetAlarmOptions)
worker-configuration.d.ts:576
Method
deleteAll
(options?: DurableObjectPutOptions)
worker-configuration.d.ts:572
Method
deleteMany
(keys: string[])
src/lib/chunked-storage.test.ts:51
Method
deserializeAttachment
()
worker-configuration.d.ts:3076
Method
destroy
(error?: any)
worker-configuration.d.ts:3215
Method
dir
* 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
Method
dirxml
* 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
Method
doctype
(doctype: Doctype)
worker-configuration.d.ts:1495
Method
draw
* 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
Method
dup
()
worker-configuration.d.ts:10085
Method
element
(element: Element)
worker-configuration.d.ts:1490
Method
end
(end: DocumentEnd)
worker-configuration.d.ts:1498
Method
equals
(other: DurableObjectId)
worker-configuration.d.ts:512
Method
error
* 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
Method
export
* Collects and aggregates metrics from all MetricExporter DOs. * * @returns Metrics and zone counts.
src/durable-objects/AccountMetricCoordinator.ts:331
Method
export
* Collects metrics from all accounts and serializes to Prometheus format. * * @returns Prometheus-formatted metrics string.
src/durable-objects/MetricCoordinator.ts:144
Method
fetch
(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>)
worker-configuration.d.ts:331
Method
fetch
(request: Request)
worker-configuration.d.ts:500
Method
fetchOptions
()
src/cloudflare/client.ts:212
Method
forward
* Forward this email message to a verified destination address of the account. * @param rcptTo Verified destination address. * @param header
worker-configuration.d.ts:9590
Method
fromTrace
(item: TraceItem)
worker-configuration.d.ts:2713
Method
get
(key: string, options?: DurableObjectGetOptions)
worker-configuration.d.ts:552
Method
get
(key: string, options?: DurableObjectGetOptions)
worker-configuration.d.ts:565
Method
get
(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>)
worker-configuration.d.ts:1839
Method
get
(key: string)
worker-configuration.d.ts:3288
Method
get
(name: string, getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>)
worker-configuration.d.ts:3311
Method
get
* Retrieve the current stored value
worker-configuration.d.ts:9622
Method
get
* 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
Method
get
* @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
Method
get
(key: string)
src/lib/chunked-storage.test.ts:15
Method
get
* 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
Method
get
* Gets or creates singleton MetricCoordinator instance. * * @param env Worker environment bindings. * @returns Initialized MetricCoordinator stu
src/durable-objects/MetricCoordinator.ts:32
Method
get
(keyOrKeys: string | string[])
src/durable-objects/MetricExporter.test.ts:9
Method
get
* 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
Method
getAlarm
(options?: DurableObjectGetAlarmOptions)
worker-configuration.d.ts:560
Method
getAlarm
(options?: DurableObjectGetAlarmOptions)
worker-configuration.d.ts:574
Method
getAttribute
(name: string)
worker-configuration.d.ts:1510
Method
getBookmarkForTime
(timestamp: number | Date)
worker-configuration.d.ts:582
Method
getCurrentBookmark
()
worker-configuration.d.ts:581
Method
getEntrypoint
(name?: string, options?: WorkerStubEntrypointOptions)
worker-configuration.d.ts:3305
Method
getHibernatableWebSocketEventTimeout
()
worker-configuration.d.ts:547
Method
getHttpMetrics
* Fetches HTTP metrics via GraphQL (raw query, not processed). * For processed metrics use getZoneMetrics with "http-metrics" query. * * @param
src/cloudflare/client.ts:237
Method
getMany
(keys: string[])
src/lib/chunked-storage.test.ts:19
Method
getReader
* 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
Method
getTags
(ws: WebSocket)
worker-configuration.d.ts:548
Method
getTcpPort
(port: number)
worker-configuration.d.ts:3217
Method
getUnredacted
()
worker-configuration.d.ts:2670
Method
getWebSocketAutoResponse
()
worker-configuration.d.ts:544
Method
getWebSocketAutoResponseTimestamp
(ws: WebSocket)
worker-configuration.d.ts:545
Method
getWebSockets
(tag?: string)
worker-configuration.d.ts:542
Method
getWithMetadata
(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>)
worker-configuration.d.ts:1855
Method
group
* 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
Method
groupCollapsed
* The **`console.groupCollapsed()`** static method creates a new inline group in the console. * * [MDN Reference](https://developer.mozilla.
worker-configuration.d.ts:184
Method
groupEnd
* The **`console.groupEnd()`** static method exits the current inline group in the console. * * [MDN Reference](https://developer.mozilla.or
worker-configuration.d.ts:190
Method
handleEvent
(event: EventType)
worker-configuration.d.ts:755
Method
hasAttribute
(name: string)
worker-configuration.d.ts:1511
Method
image
* The bytes of the response
worker-configuration.d.ts:9798
Method
info
* 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
Method
info
* 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
Method
input
* Begin applying a series of transformations to an image * @param stream The image bytes * @returns A transform handle
worker-configuration.d.ts:9760
Method
input
* 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
Function
isRetryable
(error: unknown)
src/lib/errors.ts:415
Method
list
(options?: DurableObjectListOptions)
worker-configuration.d.ts:554
Method
list
(options?: DurableObjectListOptions)
worker-configuration.d.ts:567
Method
list
(options?: SyncKvListOptions)
worker-configuration.d.ts:3289
Method
listen
(...args: unknown[])
worker-configuration.d.ts:9913
← previous
next →
201–300 of 391, ranked by callers