blob: 6209781f78ea1dc6ea22b94e39065262471baf08 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/lib/analytics/cpp/core_dev_tools/analytics.h"
namespace fidlcat {
class Analytics : public analytics::core_dev_tools::Analytics<Analytics> {
friend class analytics::core_dev_tools::Analytics<Analytics>;
static constexpr char kToolName[] = "fidlcat";
static constexpr int64_t kQuitTimeoutMs = 500;
static constexpr char kMeasurementId[] = "G-Q65G4CDNFV";
static constexpr char kMeasurementKey[] = "laylnxMAQn6eMJW3vsaPww";
static constexpr char kTrackingId[] = "UA-127897021-13";
static constexpr char kEnableArgs[] = "--analytics=enable";
static constexpr char kDisableArgs[] = "--analytics=disable";
static constexpr char kStatusArgs[] = "--analytics-show";
static constexpr char kAnalyticsList[] = R"(1. For invocation of fidlcat:
- The version of fidlcat
- The output of "uname -ms" (CPU architecture and kernel name)
2. Event of opting in/out of collection of analytics)";
} // namespace fidlcat