blob: 71e306b77d96684e3210af7ad67ce910ab2dae19 [file] [log] [blame]
// Copyright 2022 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/diagnostics/archivist/meta/common.shard.cml" ],
program: {
binary: "bin/archivist",
lifecycle: { stop_event: "notify" },
main_process_critical: "true",
},
capabilities: [
{
protocol: [
"fuchsia.diagnostics.FeedbackArchiveAccessor",
"fuchsia.diagnostics.LegacyMetricsArchiveAccessor",
"fuchsia.diagnostics.LoWPANArchiveAccessor",
],
},
],
use: [
{
protocol: [
"fuchsia.boot.ReadOnlyLog",
"fuchsia.boot.WriteOnlyLog",
"fuchsia.component.DetectBinder",
"fuchsia.component.KcounterBinder",
"fuchsia.component.LogStatsBinder",
"fuchsia.component.PersistenceBinder",
"fuchsia.component.SamplerBinder",
"fuchsia.sys.internal.ComponentEventProvider",
"fuchsia.sys.internal.LogConnector",
],
},
{
directory: "config-data",
rights: [ "r*" ],
path: "/config/data",
},
],
expose: [
{
protocol: [
"fuchsia.diagnostics.FeedbackArchiveAccessor",
"fuchsia.diagnostics.LegacyMetricsArchiveAccessor",
"fuchsia.diagnostics.LoWPANArchiveAccessor",
],
from: "self",
},
],
}