| // 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. |
| |
| // An Archivist that performs no attribution of logs. All Log connections will be unattributed with |
| // moniker = UNKNOWN. |
| // Note that this archivist isn't able to ingest inspect until RFC-168 is implemented. |
| { |
| include: [ |
| "//src/diagnostics/archivist/meta/config.shard.cml", |
| "inspect/client.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| runner: "elf", |
| binary: "bin/archivist", |
| lifecycle: { stop_event: "notify" }, |
| }, |
| capabilities: [ |
| { |
| protocol: [ |
| "fuchsia.diagnostics.ArchiveAccessor", |
| "fuchsia.diagnostics.LogSettings", |
| "fuchsia.logger.Log", |
| "fuchsia.logger.LogSink", |
| ], |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ "fuchsia.tracing.provider.Registry" ], |
| availability: "optional", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ |
| "fuchsia.diagnostics.ArchiveAccessor", |
| "fuchsia.diagnostics.LogSettings", |
| "fuchsia.logger.Log", |
| "fuchsia.logger.LogSink", |
| ], |
| from: "self", |
| }, |
| ], |
| } |