/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: collect_rep.proto
package org.dromara.hertzbeat.common.entity.message;
@SuppressWarnings("PMD")
public final class CollectRep {
private CollectRep() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code org.dromara.hertzbeat.common.entity.message.Code}
*/
public enum Code
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <pre>
* 采集成功
* </pre>
*
* <code>SUCCESS = 0;</code>
*/
SUCCESS(0),
/**
* <pre>
* 采集器不可用
* </pre>
*
* <code>UN_AVAILABLE = 1;</code>
*/
UN_AVAILABLE(1),
/**
* <pre>
* 对端不可达(网络层icmp)
* </pre>
*
* <code>UN_REACHABLE = 2;</code>
*/
UN_REACHABLE(2),
/**
* <pre>
* 对端连接失败(传输层tcp,udp)
* </pre>
*
* <code>UN_CONNECTABLE = 3;</code>
*/
UN_CONNECTABLE(3),
/**
* <pre>
* 数据采集失败(应用层http,ssh,snmp)
* </pre>
*
* <code>FAIL = 4;</code>
*/
FAIL(4),
/**
* <pre>
* 采集超时
* </pre>
*
* <code>TIMEOUT = 5;</code>
*/
TIMEOUT(5),
UNRECOGNIZED(-1),
;
/**
* <pre>
* 采集成功
* </pre>
*
* <code>SUCCESS = 0;</code>
*/
public static final int SUCCESS_VALUE = 0;
/**
* <pre>
* 采集器不可用
* </pre>
*
* <code>UN_AVAILABLE = 1;</code>
*/
public static final int UN_AVAILABLE_VALUE = 1;
/**
* <pre>
* 对端不可达(网络层icmp)
* </pre>
*
* <code>UN_REACHABLE = 2;</code>
*/
public static final int UN_REACHABLE_VALUE = 2;
/**
* <pre>
* 对端连接失败(传输层tcp,udp)
* </pre>
*
* <code>UN_CONNECTABLE = 3;</code>
*/
public static final int UN_CONNECTABLE_VALUE = 3;
/**
* <pre>
* 数据采集失败(应用层http,ssh,snmp)
* </pre>
*
* <code>FAIL = 4;</code>
*/
public static final int FAIL_VALUE = 4;
/**
* <pre>
* 采集超时
* </pre>
*
* <code>TIMEOUT = 5;</code>
*/
public static final int TIMEOUT_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Code valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Code forNumber(int value) {
switch (value) {
case 0: return SUCCESS;
case 1: return UN_AVAILABLE;
case 2: return UN_REACHABLE;
case 3: return UN_CONNECTABLE;
case 4: return FAIL;
case 5: return TIMEOUT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Code>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Code> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Code>() {
public Code findValueByNumber(int number) {
return Code.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return CollectRep.getDescriptor().getEnumTypes().get(0);
}
private static final Code[] VALUES = values();
public static Code valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Code(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.usthe.common.entity.message.Code)
}
public interface MetricsDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.usthe.common.entity.message.MetricsData)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* 监控的ID
* </pre>
*
* <code>uint64 id = 1;</code>
* @return The id.
*/
long getId();
/**
* <pre>
* 监控的类型 eg: linux | mysql | jvm
* </pre>
*
* <code>string app = 2;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <pre>
* 监控的类型 eg: linux | mysql | jvm
* </pre>
*
* <code>string app = 2;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <pre>
* 监控采集的指标集合 eg: cpu | memory | health
* </pre>
*
* <code>string metrics = 3;</code>
* @return The metrics.
*/
java.lang.String getMetrics();
/**
* <pre>
* 监控采集的指标集合 eg: cpu | memory | health
* </pre>
*
* <code>string metrics = 3;</code>
* @return The bytes for metrics.
*/
com.google.protobuf.ByteString
getMetricsBytes();
/**
* <pre>
* 监控采集指标集合的采集优先级>=0
* </pre>
*
* <code>uint32 priority = 4;</code>
* @return The priority.
*/
int getPriority();
/**
* <pre>
* 采集时间
* </pre>
*
* <code>uint64 time = 5;</code>
* @return The time.
*/
long getTime();
/**
* <pre>
* 采集响应码
* </pre>
*
* <code>.org.dromara.hertzbeat.common.entity.message.Code code = 6;</code>
* @return The enum numeric value on the wire for code.
*/
int getCodeValue();
/**
* <pre>
* 采集响应码
* </pre>
*
* <code>.org.dromara.hertzbeat.common.
没有合适的资源?快使用搜索试试~ 我知道了~
HertzBeat赫兹跳动 是一个拥有强大自定义监控能力,无需 Agent 的开源实时监控告警工具
共1305个文件
md:420个
java:335个
png:144个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 199 浏览量
2023-04-27
09:38:41
上传
评论
收藏 65.61MB ZIP 举报
温馨提示
HertzBeat赫兹跳动 是一个拥有强大自定义监控能力,无需 Agent 的开源实时监控告警工具。集 监控+告警+通知 为一体,支持对应用服务,数据库,操作系统,中间件,云原生,网络等监控,阈值告警通知一步到位。更自由化的阈值规则(计算表达式),邮件 Discord Slack Telegram 钉钉 微信 飞书 短信 Webhook 等方式及时送达。我们将Http,Jmx,Ssh,Snmp,Jdbc等协议规范可配置化,您只需在浏览器配置YML就能使用这些协议去自定义采集任何您想要的指标。
资源推荐
资源详情
资源评论
收起资源包目录
HertzBeat赫兹跳动 是一个拥有强大自定义监控能力,无需 Agent 的开源实时监控告警工具 (1305个子文件)
org.dromara.hertzbeat.collector.collect.AbstractCollect 705B
.all-contributorsrc 27KB
startup.bat 2KB
shutdown.bat 1KB
.browserslistrc 705B
CNAME 36B
CNAME 36B
style.dark.css 579KB
style.compact.css 568KB
custom.css 8KB
navbar.css 3KB
styles.module.css 3KB
Robot.module.css 3KB
highlight.module.css 2KB
Sponsor.module.css 1KB
LogoCarousel.module.css 1KB
hero.css 653B
Section.module.css 366B
docsearch.css 339B
Feature.module.css 198B
buttons.css 78B
Dockerfile 230B
.editorconfig 274B
.eslintignore 358B
spring.factories 914B
spring.factories 912B
spring.factories 906B
spring.factories 897B
fast_request_logo.gif 278KB
.gitignore 615B
.gitignore 503B
.gitignore 21B
.gitignore 21B
.gitignore 21B
.gitignore 21B
.gitkeep 0B
mailAlarm.html 50KB
alert-notice.component.html 26KB
monitor-new.component.html 18KB
monitor-edit.component.html 18KB
alert-setting.component.html 14KB
alert-silence.component.html 9KB
monitor-list.component.html 9KB
monitor-detail.component.html 8KB
dashboard.component.html 8KB
alert-center.component.html 7KB
tags.component.html 6KB
define.component.html 6KB
monitor-data-table.component.html 2KB
index.html 2KB
login.component.html 1KB
lock.component.html 892B
passport.component.html 691B
key-value-input.component.html 582B
monitor-data-chart.component.html 205B
favicon.ico 5KB
CollectRep.java 134KB
MonitorServiceImpl.java 31KB
HashedWheelTimer.java 30KB
HttpCollectImpl.java 29KB
MonitorServiceTest.java 28KB
HistoryIotDbDataStorage.java 20KB
CommonDispatcher.java 19KB
CalculateAlarm.java 18KB
HistoryTdEngineDataStorage.java 17KB
WarehouseProperties.java 17KB
MetricsCollect.java 17KB
ExporterParser.java 16KB
CollectUtil.java 16KB
HistoryGrepTimeDbDataStorage.java 16KB
JdbcCommonCollect.java 15KB
AppServiceImpl.java 15KB
HistoryInfluxdbDataStorage.java 14KB
SnmpCollectImpl.java 13KB
SshCollectImpl.java 13KB
RedisCommonCollectImpl.java 13KB
ExcelImExportServiceImpl.java 11KB
MonitorsController.java 10KB
MongodbSingleCollectImpl.java 10KB
HistoryJpaDatabaseDataStorage.java 10KB
NoticeReceiver.java 10KB
GlobalExceptionHandler.java 9KB
NoticeConfigControllerTest.java 9KB
MetricsDataController.java 9KB
Metrics.java 9KB
Job.java 9KB
JmxCollectImpl.java 9KB
NoticeConfigController.java 8KB
CommonCache.java 8KB
AlertsController.java 8KB
MetricsDataControllerTest.java 8KB
SslCertificateCollectImpl.java 8KB
NoticeConfigServiceImpl.java 8KB
ParamDefine.java 7KB
MonitorService.java 7KB
CommonHttpClient.java 7KB
DispatchProperties.java 7KB
MonitorControllerTest.java 7KB
AlertDefineController.java 7KB
AlertsControllerTest.java 7KB
共 1305 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6656
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功