libstatistics_collector  master
Lightweight aggregation utilities to collect statistics and measure message metrics.
constants.hpp
Go to the documentation of this file.
1 // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef LIBSTATISTICS_COLLECTOR__TOPIC_STATISTICS_COLLECTOR__CONSTANTS_HPP_
16 #define LIBSTATISTICS_COLLECTOR__TOPIC_STATISTICS_COLLECTOR__CONSTANTS_HPP_
17 
18 #include <string>
19 
21 {
22 namespace topic_statistics_collector
23 {
24 
25 namespace topic_statistics_constants
26 {
27 constexpr const char kMsgAgeStatName[] = "message_age";
28 constexpr const char kMsgPeriodStatName[] = "message_period";
29 constexpr const char kMillisecondUnitName[] = "ms";
30 
31 constexpr const char kCollectStatsTopicNameParam[] = "collect_topic_name";
32 constexpr const char kPublishStatsTopicNameParam[] = "publish_topic_name";
33 } // namespace topic_statistics_constants
34 
35 } // namespace topic_statistics_collector
36 } // namespace libstatistics_collector
37 
38 #endif // LIBSTATISTICS_COLLECTOR__TOPIC_STATISTICS_COLLECTOR__CONSTANTS_HPP_
libstatistics_collector
Definition: collector.hpp:29
libstatistics_collector::topic_statistics_collector::topic_statistics_constants::kMillisecondUnitName
constexpr const char kMillisecondUnitName[]
Definition: constants.hpp:29
libstatistics_collector::topic_statistics_collector::topic_statistics_constants::kMsgPeriodStatName
constexpr const char kMsgPeriodStatName[]
Definition: constants.hpp:28
libstatistics_collector::topic_statistics_collector::topic_statistics_constants::kPublishStatsTopicNameParam
constexpr const char kPublishStatsTopicNameParam[]
Definition: constants.hpp:32
libstatistics_collector::topic_statistics_collector::topic_statistics_constants::kCollectStatsTopicNameParam
constexpr const char kCollectStatsTopicNameParam[]
Definition: constants.hpp:31
libstatistics_collector::topic_statistics_collector::topic_statistics_constants::kMsgAgeStatName
constexpr const char kMsgAgeStatName[]
Definition: constants.hpp:27