{"size": 1144, "ext": "js", "max_stars_repo_path": "jaeger-tracing-nodejs-service/node_modules/@opentelemetry/sdk-trace-node/node_modules/@opentelemetry/core/build/esm/trace/sampler/AlwaysOffSampler.js", "max_stars_repo_name": "overdrive3000/adot-demo", "max_stars_repo_stars_event_min_datetime": "2021-12-07T20:34:33.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-21T07:49:34.000Z", "max_issues_repo_path": "jaeger-tracing-nodejs-service/node_modules/@opentelemetry/sdk-trace-node/node_modules/@opentelemetry/core/build/esm/trace/sampler/AlwaysOffSampler.js", "max_issues_repo_name": "overdrive3000/adot-demo", "max_issues_repo_issues_event_min_datetime": "2021-09-10T07:55:49.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-17T07:39:47.000Z", "max_forks_repo_path": "jaeger-tracing-nodejs-service/node_modules/@opentelemetry/sdk-trace-node/node_modules/@opentelemetry/core/build/esm/trace/sampler/AlwaysOffSampler.js", "max_forks_repo_name": "overdrive3000/adot-demo", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 35.75, "max_line_length": 75, "alphanum_fraction": 0.701048951}
/*
 * Copyright The OpenTelemetry Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { SamplingDecision } from '@opentelemetry/api';
/** Sampler that samples no traces. */
var AlwaysOffSampler = /** @class */ (function () {
    function AlwaysOffSampler() {
    }
    AlwaysOffSampler.prototype.shouldSample = function () {
        return {
            decision: SamplingDecision.NOT_RECORD,
        };
    };
    AlwaysOffSampler.prototype.toString = function () {
        return 'AlwaysOffSampler';
    };
    return AlwaysOffSampler;
}());
export { AlwaysOffSampler };
//# sourceMappingURL=AlwaysOffSampler.js.map