-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: release v1.0.0 #476
Changes from all commits
5bc1a3d
11df6dd
52bf03e
070c6d6
451f315
31d8be2
d0e78cb
e69dde6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,103 @@ | ||
{ | ||
"name": "@splunk/otel", | ||
"entries": [ | ||
{ | ||
"date": "Fri, 03 Jun 2022 13:48:20 GMT", | ||
"tag": "@splunk/otel_v1.0.0", | ||
"version": "1.0.0", | ||
"comments": { | ||
"major": [ | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "f2ed1b9497e8eb30a4192e1c6d1b631f4564b5b6", | ||
"comment": "chore: remove support for deprecated `opentelemetry-instrumentation-amqplib`" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "fc7b002cdb61cf4ace5b73449c1ef69124ec0b44", | ||
"comment": "chore: remove support for deprecated `opentelemetry-instrumentation-aws-sdk`" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "2df2a1e4ae1d36c7f02a2d79f3210fd70e6db52b", | ||
"comment": "feat: throw when `startTracing` is called twice" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "070c6d658321e064e0bddcdc9611002537af1f35", | ||
"comment": "feat: throw when extraneous properties are provided" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "5b4322d1e5c63c98be116a9ddc2d9f1b741fab24", | ||
"comment": "chore: remove support for Node versions before LTS 12" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "c01f78af6dfa2fced801c128bad7dbf58ed58b1a", | ||
"comment": "feat: upgrade OTel deps and bump min instrumentation versions" | ||
} | ||
], | ||
"minor": [ | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "25a24ac055e479ddd330d15820ab800293df94e9", | ||
"comment": "feat: prebuild for node@18" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "d5ae0644a042424324c30188986324306af0cd0f", | ||
"comment": "feat: add splunk.distro.version resource attribute" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "57b3dd05bc93b054f023bf828786d5319da91961", | ||
"comment": "feat: bring in detectors for os.* and host.* attributes" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "499f54f65ffa601bbcd955f3d212c9e4763cda57", | ||
"comment": "feat: add a generic start API" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "638b774ac52d8d5475359d1d036b24fa38726749", | ||
"comment": "feat: detect resource from process" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "7a7ef91e2ff7a1aaa8184608b900cb9e16f63598", | ||
"comment": "feat: throw when unexpected configuration provided" | ||
}, | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "4fd1655b8373fe052116a72ab15b96b8852ba8bd", | ||
"comment": "feat: implement setting up ConsoleSpanExporter via env var" | ||
} | ||
], | ||
"none": [ | ||
{ | ||
"author": "[email protected]", | ||
"package": "@splunk/otel", | ||
"commit": "11df6ddb01885b0c60d9eab8ed5671a8d29a3ab6", | ||
"comment": "feat: change the `readme.md` badge to stable" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 21 Apr 2022 17:01:07 GMT", | ||
"tag": "@splunk/otel_v0.18.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,32 @@ | ||
# Change Log - @splunk/otel | ||
|
||
This log was last generated on Thu, 21 Apr 2022 17:01:07 GMT and should not be manually modified. | ||
This log was last generated on Fri, 03 Jun 2022 13:48:20 GMT and should not be manually modified. | ||
|
||
<!-- Start content --> | ||
|
||
## 1.0.0 | ||
|
||
Fri, 03 Jun 2022 13:48:20 GMT | ||
|
||
### Major changes | ||
|
||
- chore: remove support for deprecated `opentelemetry-instrumentation-amqplib` ([email protected]) | ||
- chore: remove support for deprecated `opentelemetry-instrumentation-aws-sdk` ([email protected]) | ||
- feat: throw when `startTracing` is called twice ([email protected]) | ||
- feat: throw when extraneous properties are provided ([email protected]) | ||
- chore: remove support for Node versions before LTS 12 ([email protected]) | ||
- feat: upgrade OTel deps and bump min instrumentation versions ([email protected]) | ||
|
||
### Minor changes | ||
|
||
- feat: prebuild for node@18 ([email protected]) | ||
- feat: add splunk.distro.version resource attribute ([email protected]) | ||
- feat: bring in detectors for os.* and host.* attributes ([email protected]) | ||
- feat: add a generic start API ([email protected]) | ||
- feat: detect resource from process ([email protected]) | ||
- feat: throw when unexpected configuration provided ([email protected]) | ||
- feat: implement setting up ConsoleSpanExporter via env var ([email protected]) | ||
|
||
## 0.18.0 | ||
|
||
Thu, 21 Apr 2022 17:01:07 GMT | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"dependencies": { | ||
"@opentelemetry/api": "^1.0.3", | ||
"@splunk/otel": "^0.17.0" | ||
"@splunk/otel": "^0.18.0" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@splunk/otel", | ||
"version": "0.18.0", | ||
"version": "1.0.0", | ||
"description": "The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.", | ||
"repository": "[email protected]:signalfx/splunk-otel-js.git", | ||
"author": "Splunk <[email protected]>", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,6 @@ | |
* limitations under the License. | ||
*/ | ||
|
||
import { inspect } from 'util'; | ||
|
||
import { context, diag } from '@opentelemetry/api'; | ||
import { suppressTracing } from '@opentelemetry/core'; | ||
import { collectMemoryInfo, MemoryInfo } from './memory'; | ||
|
@@ -92,12 +90,7 @@ export const allowedMetricsOptions = [ | |
]; | ||
|
||
export function startMetrics(opts: StartMetricsOptions = {}) { | ||
try { | ||
assertNoExtraneousProperties(opts, allowedMetricsOptions); | ||
} catch (e) { | ||
diag.error(inspect(e)); | ||
diag.warn('This will turn into a thrown exception in @splunk/[email protected]'); | ||
} | ||
assertNoExtraneousProperties(opts, allowedMetricsOptions); | ||
|
||
const options = _setDefaultOptions(opts); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,6 @@ | |
* limitations under the License. | ||
*/ | ||
|
||
import { inspect } from 'util'; | ||
|
||
import { context, diag } from '@opentelemetry/api'; | ||
import { Resource } from '@opentelemetry/resources'; | ||
import { | ||
|
@@ -55,12 +53,7 @@ function extCollectSamples(extension: ProfilingExtension) { | |
} | ||
|
||
export function startProfiling(opts: Partial<ProfilingOptions> = {}) { | ||
try { | ||
assertNoExtraneousProperties(opts, allowedProfilingOptions); | ||
} catch (e) { | ||
diag.error(inspect(e)); | ||
diag.warn('This will turn into a thrown exception in @splunk/[email protected]'); | ||
} | ||
assertNoExtraneousProperties(opts, allowedProfilingOptions); | ||
|
||
const options = _setDefaultOptions(opts); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,10 @@ | |
* limitations under the License. | ||
*/ | ||
|
||
import { inspect } from 'util'; | ||
import { strict as assert } from 'assert'; | ||
import { gte } from 'semver'; | ||
|
||
import { context, propagation, trace, diag } from '@opentelemetry/api'; | ||
import { context, propagation, trace } from '@opentelemetry/api'; | ||
import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node'; | ||
import { registerInstrumentations } from '@opentelemetry/instrumentation'; | ||
import { | ||
|
@@ -51,12 +50,9 @@ export { Options as TracingOptions }; | |
export function startTracing(opts: Partial<Options> = {}): boolean { | ||
assert(!isStarted || allowDoubleStart, 'Splunk APM already started'); | ||
isStarted = true; | ||
try { | ||
assertNoExtraneousProperties(opts, allowedTracingOptions); | ||
} catch (e) { | ||
diag.error(inspect(e)); | ||
diag.warn('This will turn into a thrown exception in @splunk/[email protected]'); | ||
} | ||
|
||
assertNoExtraneousProperties(opts, allowedTracingOptions); | ||
|
||
const options = _setDefaultOptions(opts); | ||
|
||
// propagator | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
* limitations under the License. | ||
*/ | ||
|
||
export const VERSION = '0.18.0'; | ||
export const VERSION = '1.0.0'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not related to this change, but the
GitHub branch checks state
is alwaysPENDING
, should replace it withhttps://img.shields.io/github/workflow/status/signalfx/splunk-otel-js/Continuous%20Integration/main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Goodones! Fixed them.