Skip to content

Commit b627204

Browse files
committed
default no0 sampling rate
1 parent 5e5ca9f commit b627204

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

firebase-perf/gradle.properties

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1-
version=20.0.7-eap
1+
#
2+
# Copyright 2020 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
#
17+
18+
version=20.0.7
219
latestReleasedVersion=20.0.6
3-
android.enableUnitTestBinaryResources=true
20+
android.enableUnitTestBinaryResources=true

firebase-perf/src/main/java/com/google/firebase/perf/config/ConfigurationConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ protected Float getDefault() {
643643
// Sampling rate range is [0.00f, 1.00f]. By default, sampling rate is 1.00f, which is 100%.
644644
// 0.00f means 0%, Fireperf will not capture any event for fragment trace from the device,
645645
// 1.00f means 100%, Fireperf will capture all events for fragment trace from the device.
646-
return 1.00f;
646+
return 0.00f;
647647
}
648648

649649
@Override

0 commit comments

Comments
 (0)