@conduit-client/service-instrumentation-noop 5.67.0-dev1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.txt ADDED
@@ -0,0 +1,27 @@
1
+ *Attorney/Client Privileged + Confidential*
2
+
3
+ Terms of Use for Public Code (Non-OSS)
4
+
5
+ *NOTE:* Before publishing code under this license/these Terms of Use, please review https://salesforce.quip.com/WFfvAMKB18AL and confirm that you’ve completed all prerequisites described therein. *These Terms of Use may not be used or modified without input from IP and Product Legal.*
6
+
7
+ *Terms of Use*
8
+
9
+ Copyright 2022 Salesforce, Inc. All rights reserved.
10
+
11
+ These Terms of Use govern the download, installation, and/or use of this software provided by Salesforce, Inc. (“Salesforce”) (the “Software”), were last updated on April 15, 2022, ** and constitute a legally binding agreement between you and Salesforce. If you do not agree to these Terms of Use, do not install or use the Software.
12
+
13
+ Salesforce grants you a worldwide, non-exclusive, no-charge, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the Software and derivative works subject to these Terms. These Terms shall be included in all copies or substantial portions of the Software.
14
+
15
+ Subject to the limited rights expressly granted hereunder, Salesforce reserves all rights, title, and interest in and to all intellectual property subsisting in the Software. No rights are granted to you hereunder other than as expressly set forth herein. Users residing in countries on the United States Office of Foreign Assets Control sanction list, or which are otherwise subject to a US export embargo, may not use the Software.
16
+
17
+ Implementation of the Software may require development work, for which you are responsible. The Software may contain bugs, errors and incompatibilities and is made available on an AS IS basis without support, updates, or service level commitments.
18
+
19
+ Salesforce reserves the right at any time to modify, suspend, or discontinue, the Software (or any part thereof) with or without notice. You agree that Salesforce shall not be liable to you or to any third party for any modification, suspension, or discontinuance.
20
+
21
+ You agree to defend Salesforce against any claim, demand, suit or proceeding made or brought against Salesforce by a third party arising out of or accruing from (a) your use of the Software, and (b) any application you develop with the Software that infringes any copyright, trademark, trade secret, trade dress, patent, or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy (each a “Claim Against Salesforce”), and will indemnify Salesforce from any damages, attorney fees, and costs finally awarded against Salesforce as a result of, or for any amounts paid by Salesforce under a settlement approved by you in writing of, a Claim Against Salesforce, provided Salesforce (x) promptly gives you written notice of the Claim Against Salesforce, (y) gives you sole control of the defense and settlement of the Claim Against Salesforce (except that you may not settle any Claim Against Salesforce unless it unconditionally releases Salesforce of all liability), and (z) gives you all reasonable assistance, at your expense.
22
+
23
+ WITHOUT LIMITING THE GENERALITY OF THE FOREGOING, THE SOFTWARE IS NOT SUPPORTED AND IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL SALESFORCE HAVE ANY LIABILITY FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, OR DAMAGES BASED ON LOST PROFITS, DATA, OR USE, IN CONNECTION WITH THE SOFTWARE, HOWEVER CAUSED AND WHETHER IN CONTRACT, TORT, OR UNDER ANY OTHER THEORY OF LIABILITY, WHETHER OR NOT YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
24
+
25
+ These Terms of Use shall be governed exclusively by the internal laws of the State of California, without regard to its conflicts of laws rules. Each party hereby consents to the exclusive jurisdiction of the state and federal courts located in San Francisco County, California to adjudicate any dispute arising out of or relating to these Terms of Use and the download, installation, and/or use of the Software. Except as expressly stated herein, these Terms of Use constitute the entire agreement between the parties, and supersede all prior and contemporaneous agreements, proposals, or representations, written or oral, concerning their subject matter. No modification, amendment, or waiver of any provision of these Terms of Use shall be effective unless it is by an update to these Terms of Use that Salesforce makes available, or is in writing and signed by the party against whom the modification, amendment, or waiver is to be asserted.
26
+
27
+ _*Data Privacy*_: Salesforce may collect, process, and store device, system, and other information related to your use of the Software. This information includes, but is not limited to, IP address, user metrics, and other data (“Usage Data”). Salesforce may use Usage Data for analytics, product development, and marketing purposes. You acknowledge that files generated in conjunction with the Software may contain sensitive or confidential data, and you are solely responsible for anonymizing and protecting such data.
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # Luvio Noop Instrumentation Service
2
+
3
+ This package provides a no-op implementation of the instrumentation service interface defined in `-client/service-instrumentation-types`.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install -client/service-instrumentation-noop
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```js
14
+ import { buildServiceDescriptor } from '@conduit-client/service-instrumentation-noop/v1';
15
+
16
+ const instrumentationService = buildServiceDescriptor();
17
+ ```
18
+
19
+ This implementation provides empty/no-op implementations for all instrumentation API methods.
20
+
21
+ ## Types
22
+
23
+ This package implements the interfaces defined in [`-client/service-instrumentation-types`](../instrumentation-types).
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright (c) 2022, Salesforce, Inc.,
3
+ * All rights reserved.
4
+ * For full license text, see the LICENSE.txt file
5
+ */
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
File without changes
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { buildServiceDescriptor } from './noop-instrumentation-service';
@@ -0,0 +1,2 @@
1
+ import type { InstrumentationServiceDescriptor } from '@conduit-client/service-instrumentation-types/v1';
2
+ export declare function buildServiceDescriptor(): InstrumentationServiceDescriptor;
@@ -0,0 +1,15 @@
1
+ import type { LuvioOTelMetricsAPI } from '@conduit-client/service-instrumentation-types/v1';
2
+ import type { Attributes, BatchObservableCallback, Counter, Histogram, Meter, MeterOptions, MetricOptions, Observable, ObservableCounter, ObservableGauge, ObservableUpDownCounter, UpDownCounter } from '@opentelemetry/api';
3
+ export declare class NoopOTelMetricsAPI implements LuvioOTelMetricsAPI {
4
+ getMeter(__name: string, _version?: string | undefined, __options?: MeterOptions | undefined): Meter;
5
+ }
6
+ export declare class NoopMeter implements Meter {
7
+ createHistogram<AttributesTypes extends Attributes = Attributes>(_name: string, _options?: MetricOptions | undefined): Histogram<AttributesTypes>;
8
+ createCounter<AttributesTypes extends Attributes = Attributes>(_name: string, _options?: MetricOptions | undefined): Counter<AttributesTypes>;
9
+ createUpDownCounter<AttributesTypes extends Attributes = Attributes>(_name: string, _options?: MetricOptions | undefined): UpDownCounter<AttributesTypes>;
10
+ createObservableGauge<AttributesTypes extends Attributes = Attributes>(_name: string, _options?: MetricOptions | undefined): ObservableGauge<AttributesTypes>;
11
+ createObservableCounter<AttributesTypes extends Attributes = Attributes>(_name: string, _options?: MetricOptions | undefined): ObservableCounter<AttributesTypes>;
12
+ createObservableUpDownCounter<AttributesTypes extends Attributes = Attributes>(_name: string, _options?: MetricOptions | undefined): ObservableUpDownCounter<AttributesTypes>;
13
+ addBatchObservableCallback<AttributesTypes extends Attributes = Attributes>(_callback: BatchObservableCallback<AttributesTypes>, _observables: Observable<AttributesTypes>[]): void;
14
+ removeBatchObservableCallback<AttributesTypes extends Attributes = Attributes>(_callback: BatchObservableCallback<AttributesTypes>, _observables: Observable<AttributesTypes>[]): void;
15
+ }
@@ -0,0 +1,22 @@
1
+ import type { LuvioOTelTraceAPI } from '@conduit-client/service-instrumentation-types/v1';
2
+ import type { Tracer, TracerOptions, Span, SpanContext, SpanOptions, SpanStatus, Context, AttributeValue, Attributes, TimeInput, Exception } from '@opentelemetry/api';
3
+ export declare class NoopOTelTraceAPI implements LuvioOTelTraceAPI {
4
+ getTracer(_name: string, _version?: string, _options?: TracerOptions): Tracer;
5
+ }
6
+ export declare class NoopTracer implements Tracer {
7
+ startSpan(_name: string, _options?: SpanOptions, _context?: Context): Span;
8
+ startActiveSpan<F extends (span: Span) => unknown>(name: string, fn: F): ReturnType<F>;
9
+ startActiveSpan<F extends (span: Span) => unknown>(name: string, options: SpanOptions, fn: F): ReturnType<F>;
10
+ startActiveSpan<F extends (span: Span) => unknown>(name: string, options: SpanOptions, context: Context, fn: F): ReturnType<F>;
11
+ }
12
+ export declare class NoopSpan implements Span {
13
+ spanContext(): SpanContext;
14
+ setAttribute(_key: string, _value: AttributeValue): this;
15
+ setAttributes(_attributes: Attributes): this;
16
+ addEvent(_name: string, _attributesOrStartTime?: Attributes | TimeInput, _startTime?: TimeInput): this;
17
+ setStatus(_status: SpanStatus): this;
18
+ updateName(_name: string): this;
19
+ end(_endTime?: TimeInput): void;
20
+ isRecording(): boolean;
21
+ recordException(_exception: Exception, _time?: TimeInput): void;
22
+ }
@@ -0,0 +1,155 @@
1
+ /*!
2
+ * Copyright (c) 2022, Salesforce, Inc.,
3
+ * All rights reserved.
4
+ * For full license text, see the LICENSE.txt file
5
+ */
6
+ class NoopOTelTraceAPI {
7
+ getTracer(_name, _version, _options) {
8
+ return new NoopTracer();
9
+ }
10
+ }
11
+ class NoopTracer {
12
+ startSpan(_name, _options, _context) {
13
+ return new NoopSpan();
14
+ }
15
+ startActiveSpan(name, options, context, fn) {
16
+ let opts;
17
+ let ctx;
18
+ let fun;
19
+ if (typeof options === "function") {
20
+ fun = options;
21
+ } else {
22
+ opts = options;
23
+ if (typeof context === "function") {
24
+ fun = context;
25
+ } else {
26
+ ctx = context;
27
+ fun = fn;
28
+ }
29
+ }
30
+ const span = this.startSpan(name, opts, ctx);
31
+ try {
32
+ return fun(span);
33
+ } finally {
34
+ span.end();
35
+ }
36
+ }
37
+ }
38
+ class NoopSpan {
39
+ spanContext() {
40
+ return {
41
+ spanId: "noopSpanId",
42
+ traceId: "noopTraceId",
43
+ traceFlags: 0
44
+ };
45
+ }
46
+ setAttribute(_key, _value) {
47
+ return this;
48
+ }
49
+ setAttributes(_attributes) {
50
+ return this;
51
+ }
52
+ addEvent(_name, _attributesOrStartTime, _startTime) {
53
+ return this;
54
+ }
55
+ setStatus(_status) {
56
+ return this;
57
+ }
58
+ updateName(_name) {
59
+ return this;
60
+ }
61
+ end(_endTime) {
62
+ return;
63
+ }
64
+ isRecording() {
65
+ return false;
66
+ }
67
+ recordException(_exception, _time) {
68
+ return;
69
+ }
70
+ }
71
+ class NoopOTelMetricsAPI {
72
+ getMeter(__name, _version, __options) {
73
+ return new NoopMeter();
74
+ }
75
+ }
76
+ class NoopMeter {
77
+ createHistogram(_name, _options) {
78
+ return new NoopHistogram();
79
+ }
80
+ createCounter(_name, _options) {
81
+ return new NoopCounter();
82
+ }
83
+ createUpDownCounter(_name, _options) {
84
+ return new NoopUpDownCounter();
85
+ }
86
+ createObservableGauge(_name, _options) {
87
+ return new NoopObservableGuage();
88
+ }
89
+ createObservableCounter(_name, _options) {
90
+ return new NoopObservableCounter();
91
+ }
92
+ createObservableUpDownCounter(_name, _options) {
93
+ return new NoopObservableUpDownCounter();
94
+ }
95
+ addBatchObservableCallback(_callback, _observables) {
96
+ return;
97
+ }
98
+ removeBatchObservableCallback(_callback, _observables) {
99
+ return;
100
+ }
101
+ }
102
+ class NoopCounter {
103
+ add(_value, _attributes, _context) {
104
+ return;
105
+ }
106
+ }
107
+ class NoopHistogram {
108
+ record(_value, _attributes, _context) {
109
+ return;
110
+ }
111
+ }
112
+ class NoopUpDownCounter {
113
+ add(_value, _attributes, _context) {
114
+ return;
115
+ }
116
+ }
117
+ class NoopObservableCounter {
118
+ addCallback(_callback) {
119
+ return;
120
+ }
121
+ removeCallback(_callback) {
122
+ return;
123
+ }
124
+ }
125
+ class NoopObservableGuage {
126
+ addCallback(_callback) {
127
+ return;
128
+ }
129
+ removeCallback(_callback) {
130
+ return;
131
+ }
132
+ }
133
+ class NoopObservableUpDownCounter {
134
+ addCallback(_callback) {
135
+ return;
136
+ }
137
+ removeCallback(_callback) {
138
+ return;
139
+ }
140
+ }
141
+ function buildServiceDescriptor() {
142
+ return {
143
+ type: "instrumentation",
144
+ version: "1.0",
145
+ service: {
146
+ trace: new NoopOTelTraceAPI(),
147
+ metrics: new NoopOTelMetricsAPI(),
148
+ currentTimeMs: () => 0
149
+ }
150
+ };
151
+ }
152
+ export {
153
+ buildServiceDescriptor
154
+ };
155
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/v1/noop-trace-api.ts","../../src/v1/noop-metrics-api.ts","../../src/v1/noop-instrumentation-service.ts"],"sourcesContent":["/* eslint-disable no-dupe-class-members */\nimport type { LuvioOTelTraceAPI } from '@conduit-client/service-instrumentation-types/v1';\nimport type {\n Tracer,\n TracerOptions,\n Span,\n SpanContext,\n SpanOptions,\n SpanStatus,\n Context,\n AttributeValue,\n Attributes,\n TimeInput,\n Exception,\n} from '@opentelemetry/api';\n\nexport class NoopOTelTraceAPI implements LuvioOTelTraceAPI {\n getTracer(_name: string, _version?: string, _options?: TracerOptions): Tracer {\n return new NoopTracer();\n }\n}\n\nexport class NoopTracer implements Tracer {\n startSpan(_name: string, _options?: SpanOptions, _context?: Context): Span {\n return new NoopSpan();\n }\n startActiveSpan<F extends (span: Span) => unknown>(name: string, fn: F): ReturnType<F>;\n startActiveSpan<F extends (span: Span) => unknown>(\n name: string,\n options: SpanOptions,\n fn: F\n ): ReturnType<F>;\n startActiveSpan<F extends (span: Span) => unknown>(\n name: string,\n options: SpanOptions,\n context: Context,\n fn: F\n ): ReturnType<F>;\n startActiveSpan<F extends (span: Span) => unknown>(\n name: string,\n options: unknown,\n context?: unknown,\n fn?: unknown\n ): ReturnType<F> {\n let opts: SpanOptions | undefined;\n let ctx: Context | undefined;\n let fun: F;\n if (typeof options === 'function') {\n fun = options as F;\n } else {\n opts = options as SpanOptions;\n if (typeof context === 'function') {\n fun = context as F;\n } else {\n ctx = context as Context;\n fun = fn as F;\n }\n }\n const span = this.startSpan(name, opts, ctx);\n try {\n return fun(span) as ReturnType<F>;\n } finally {\n span.end();\n }\n }\n}\n\nexport class NoopSpan implements Span {\n spanContext(): SpanContext {\n // TODO: I'll need to double check, but I think even if we provide a\n // noop implementation, there is still a requirement to pass along context\n return {\n spanId: 'noopSpanId',\n traceId: 'noopTraceId',\n traceFlags: 0,\n };\n }\n setAttribute(_key: string, _value: AttributeValue): this {\n return this;\n }\n setAttributes(_attributes: Attributes): this {\n return this;\n }\n addEvent(\n _name: string,\n _attributesOrStartTime?: Attributes | TimeInput,\n _startTime?: TimeInput\n ): this {\n return this;\n }\n setStatus(_status: SpanStatus): this {\n return this;\n }\n updateName(_name: string): this {\n return this;\n }\n end(_endTime?: TimeInput): void {\n return;\n }\n isRecording(): boolean {\n return false;\n }\n recordException(_exception: Exception, _time?: TimeInput): void {\n return;\n }\n}\n","/* eslint-disable no-dupe-class-members */\nimport type { LuvioOTelMetricsAPI } from '@conduit-client/service-instrumentation-types/v1';\nimport type {\n Attributes,\n BatchObservableCallback,\n Context,\n Counter,\n Histogram,\n Meter,\n MeterOptions,\n MetricOptions,\n Observable,\n ObservableCallback,\n ObservableCounter,\n ObservableGauge,\n ObservableUpDownCounter,\n UpDownCounter,\n} from '@opentelemetry/api';\n\nexport class NoopOTelMetricsAPI implements LuvioOTelMetricsAPI {\n getMeter(\n __name: string,\n _version?: string | undefined,\n __options?: MeterOptions | undefined\n ): Meter {\n return new NoopMeter();\n }\n}\n\nexport class NoopMeter implements Meter {\n createHistogram<AttributesTypes extends Attributes = Attributes>(\n _name: string,\n _options?: MetricOptions | undefined\n ): Histogram<AttributesTypes> {\n return new NoopHistogram();\n }\n createCounter<AttributesTypes extends Attributes = Attributes>(\n _name: string,\n _options?: MetricOptions | undefined\n ): Counter<AttributesTypes> {\n return new NoopCounter();\n }\n createUpDownCounter<AttributesTypes extends Attributes = Attributes>(\n _name: string,\n _options?: MetricOptions | undefined\n ): UpDownCounter<AttributesTypes> {\n return new NoopUpDownCounter();\n }\n createObservableGauge<AttributesTypes extends Attributes = Attributes>(\n _name: string,\n _options?: MetricOptions | undefined\n ): ObservableGauge<AttributesTypes> {\n return new NoopObservableGuage();\n }\n createObservableCounter<AttributesTypes extends Attributes = Attributes>(\n _name: string,\n _options?: MetricOptions | undefined\n ): ObservableCounter<AttributesTypes> {\n return new NoopObservableCounter();\n }\n createObservableUpDownCounter<AttributesTypes extends Attributes = Attributes>(\n _name: string,\n _options?: MetricOptions | undefined\n ): ObservableUpDownCounter<AttributesTypes> {\n return new NoopObservableUpDownCounter();\n }\n addBatchObservableCallback<AttributesTypes extends Attributes = Attributes>(\n _callback: BatchObservableCallback<AttributesTypes>,\n _observables: Observable<AttributesTypes>[]\n ): void {\n return;\n }\n removeBatchObservableCallback<AttributesTypes extends Attributes = Attributes>(\n _callback: BatchObservableCallback<AttributesTypes>,\n _observables: Observable<AttributesTypes>[]\n ): void {\n return;\n }\n}\n\nclass NoopCounter implements Counter {\n add(\n _value: number,\n _attributes?: Attributes | undefined,\n _context?: Context | undefined\n ): void {\n return;\n }\n}\n\nclass NoopHistogram implements Histogram {\n record(\n _value: number,\n _attributes?: Attributes | undefined,\n _context?: Context | undefined\n ): void {\n return;\n }\n}\n\nclass NoopUpDownCounter implements UpDownCounter {\n add(\n _value: number,\n _attributes?: Attributes | undefined,\n _context?: Context | undefined\n ): void {\n return;\n }\n}\n\nclass NoopObservableCounter implements ObservableCounter {\n addCallback(_callback: ObservableCallback<Attributes>): void {\n return;\n }\n removeCallback(_callback: ObservableCallback<Attributes>): void {\n return;\n }\n}\n\nclass NoopObservableGuage implements ObservableGauge {\n addCallback(_callback: ObservableCallback<Attributes>): void {\n return;\n }\n removeCallback(_callback: ObservableCallback<Attributes>): void {\n return;\n }\n}\n\nclass NoopObservableUpDownCounter implements ObservableUpDownCounter {\n addCallback(_callback: ObservableCallback<Attributes>): void {\n return;\n }\n removeCallback(_callback: ObservableCallback<Attributes>): void {\n return;\n }\n}\n","/* eslint-disable no-dupe-class-members */\nimport { NoopOTelTraceAPI } from './noop-trace-api';\nimport { NoopOTelMetricsAPI } from './noop-metrics-api';\nimport type { InstrumentationServiceDescriptor } from '@conduit-client/service-instrumentation-types/v1';\n\nexport function buildServiceDescriptor(): InstrumentationServiceDescriptor {\n return {\n type: 'instrumentation',\n version: '1.0',\n service: {\n trace: new NoopOTelTraceAPI(),\n metrics: new NoopOTelMetricsAPI(),\n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A,MACb,eAAe,MAAM;AAAA,IAAA;AAAA,EACzB;AAER;"}
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@conduit-client/service-instrumentation-noop",
3
+ "version": "5.67.0-dev1",
4
+ "private": false,
5
+ "description": "Luvio Noop Instrumentation Service implementation",
6
+ "type": "module",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/salesforce-experience-platform-emu/luvio-next.git",
10
+ "directory": "packages/@conduit-client/services/instrumentation-noop"
11
+ },
12
+ "license": "SEE LICENSE IN LICENSE.txt",
13
+ "exports": {
14
+ "./v1": {
15
+ "import": "./dist/v1/index.js",
16
+ "types": "./dist/types/v1/index.d.ts",
17
+ "require": "./dist/v1/index.js"
18
+ }
19
+ },
20
+ "main": "./dist/main/index.js",
21
+ "module": "./dist/main/index.js",
22
+ "types": "./dist/main/index.d.ts",
23
+ "files": [
24
+ "dist/"
25
+ ],
26
+ "scripts": {
27
+ "build": "vite build && tsc --build --emitDeclarationOnly",
28
+ "clean": "rm -rf dist",
29
+ "test": "vitest run",
30
+ "test:size": "size-limit",
31
+ "watch": "npm run build --watch"
32
+ },
33
+ "dependencies": {
34
+ "@conduit-client/service-instrumentation-types": "5.67.0-dev1",
35
+ "@conduit-client/utils": "5.67.0-dev1",
36
+ "@opentelemetry/api": "1.7.0"
37
+ },
38
+ "volta": {
39
+ "extends": "../../../../package.json"
40
+ },
41
+ "size-limit": [
42
+ {
43
+ "path": "./dist/v1/index.js",
44
+ "limit": "2 kB"
45
+ }
46
+ ]
47
+ }