Resource.ts overview
Since v1.0.0
Exports Grouped by Category
config
configToAttributes
Signature
declare const configToAttributes: (options: {
readonly serviceName: string
readonly serviceVersion?: string
readonly attributes?: Resources.ResourceAttributes
}) => Record<string, string>
Since v1.0.0
identifier
Resource (interface)
Signature
export interface Resource {
readonly _: unique symbol
}
Since v1.0.0
layer
layer
Signature
declare const layer: (config: {
readonly serviceName: string
readonly serviceVersion?: string
readonly attributes?: Resources.ResourceAttributes
}) => any
Since v1.0.0
layerEmpty
Signature
declare const layerEmpty: any
Since v2.0.0
layerFromEnv
Signature
declare const layerFromEnv: (additionalAttributes?: Resources.ResourceAttributes | undefined) => Layer.Layer<Resource>
Since v1.0.0
tag
Resource
Signature
declare const Resource: any
Since v1.0.0