Skip to content

Commit

Permalink
Merge branch 'main' into chalin-website-gh-link-fix-2021-08-18
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Aug 27, 2021
2 parents 3c650dc + dfb597d commit dcf5621
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Maintainers ([@open-telemetry/js-maintainers](https://github.com/orgs/open-telem

OpenTelemetry is vendor-agnostic and can upload data to any backend with various exporter implementations. Even though, OpenTelemetry provides support for many backends, vendors/users can also implement their own exporters for proprietary and unofficially supported backends.

See the [OpenTelemetry registry](https://opentelemetry.io/registry/?s=node.js) for a list of exporters available.
See the [OpenTelemetry registry](https://opentelemetry.io/registry/?language=js&component=exporter#) for a list of exporters available.

### Instrumentations

Expand Down
2 changes: 1 addition & 1 deletion getting-started/traced-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@opentelemetry/core": "0.25.0",
"@opentelemetry/exporter-zipkin": "0.25.0",
"@opentelemetry/instrumentation-express": "^0.25.0",
"@opentelemetry/instrumentation-express": "^0.24.0",
"@opentelemetry/instrumentation-http": "0.25.0",
"@opentelemetry/instrumentation": "0.25.0",
"@opentelemetry/sdk-trace-node": "0.25.0",
Expand Down
2 changes: 1 addition & 1 deletion getting-started/ts-example/traced-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@opentelemetry/core": "0.25.0",
"@opentelemetry/exporter-zipkin": "0.25.0",
"@opentelemetry/instrumentation": "0.25.0",
"@opentelemetry/instrumentation-express": "^0.25.0",
"@opentelemetry/instrumentation-express": "^0.24.0",
"@opentelemetry/sdk-trace-node": "0.25.0",
"@opentelemetry/instrumentation-http": "0.25.0",
"@opentelemetry/sdk-trace-base": "0.25.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/opentelemetry-sdk-trace-base/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {

const env = getEnv();
const FALLBACK_OTEL_TRACES_SAMPLER = TracesSamplerValues.AlwaysOn;
const DEFAULT_RATIO = 1;

/**
* Default configuration. For fields with primitive values, any user-provided
Expand Down Expand Up @@ -79,8 +80,6 @@ export function buildSamplerFromEnv(
}
}

const DEFAULT_RATIO = 1;

function getSamplerProbabilityFromEnv(
env: Required<ENVIRONMENT>
): number | undefined {
Expand Down

0 comments on commit dcf5621

Please sign in to comment.