本文整理汇总了Java中org.graylog2.plugin.LocalMetricRegistry类的典型用法代码示例。如果您正苦于以下问题:Java LocalMetricRegistry类的具体用法?Java LocalMetricRegistry怎么用?Java LocalMetricRegistry使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
LocalMetricRegistry类属于org.graylog2.plugin包,在下文中一共展示了LocalMetricRegistry类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: S3Input
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@AssistedInject
public S3Input(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
S3Transport.Factory transport,
LocalMetricRegistry localRegistry,
S3Codec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
transport.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus);
}
示例2: CEFUDPInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@AssistedInject
public CEFUDPInput(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
final UdpTransport.Factory udpTransportFactory,
final LocalMetricRegistry localRegistry,
CEFCodec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
udpTransportFactory.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus
);
}
示例3: CEFTCPInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@AssistedInject
public CEFTCPInput(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
final TcpTransport.Factory tcpTransportFactory,
final LocalMetricRegistry localRegistry,
CEFCodec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
tcpTransportFactory.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus
);
}
示例4: CEFKafkaInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@AssistedInject
public CEFKafkaInput(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
final KafkaTransport.Factory kafkaTransportFactory,
final LocalMetricRegistry localRegistry,
CEFCodec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
kafkaTransportFactory.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus
);
}
示例5: CEFAmqpInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@AssistedInject
public CEFAmqpInput(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
final AmqpTransport.Factory amqpTransportFactory,
final LocalMetricRegistry localRegistry,
CEFCodec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
amqpTransportFactory.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus
);
}
示例6: SFlowInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@Inject
public SFlowInput(@Assisted Configuration configuration,
UdpTransport.Factory transportFactory,
SFlowCodec.Factory codecFactory,
Config config,
Descriptor descriptor,
MetricRegistry metricRegistry,
LocalMetricRegistry localRegistry,
ServerStatus serverStatus)
{
super(metricRegistry,
configuration,
transportFactory.create(configuration),
localRegistry,
codecFactory.create(configuration),
config,
descriptor,
serverStatus);
}
示例7: setUp
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@Before
public void setUp() {
final NettyTransportConfiguration nettyTransportConfiguration = new NettyTransportConfiguration("nio", "jdk", 1);
eventLoopGroupFactory = new EventLoopGroupFactory(nettyTransportConfiguration);
eventLoopGroup = new NioEventLoopGroup(1);
transport = new NetFlowUdpTransport(
Configuration.EMPTY_CONFIGURATION,
eventLoopGroupFactory,
nettyTransportConfiguration,
new ThroughputCounter(eventLoopGroup),
new LocalMetricRegistry());
transport.setMessageAggregator(new NetflowV9CodecAggregator());
}
示例8: SpaceweatherInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@AssistedInject
public SpaceweatherInput(MetricRegistry metricRegistry,
@Assisted Configuration configuration,
SpaceweatherTransport.Factory transportFactory,
LocalMetricRegistry localRegistry,
SpaceweatherCodec.Factory codecFactory,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(metricRegistry,
configuration,
transportFactory.create(configuration),
localRegistry,
codecFactory.create(configuration),
config, descriptor, serverStatus);
}
示例9: CloudWatchLogsInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@Inject
public CloudWatchLogsInput(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
KinesisTransport.Factory transport,
LocalMetricRegistry localRegistry,
CloudWatchRawLogCodec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
transport.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus
);
}
示例10: CloudTrailInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@Inject
public CloudTrailInput(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
CloudTrailTransport.Factory transport,
LocalMetricRegistry localRegistry,
CloudTrailCodec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
transport.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus);
}
示例11: CloudTrailTransport
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@Inject
public CloudTrailTransport(@Assisted final Configuration configuration,
final ClusterConfigService clusterConfigService,
final EventBus serverEventBus,
final ServerStatus serverStatus,
@AWSObjectMapper ObjectMapper objectMapper,
@Named("http_proxy_uri") @Nullable URI httpProxyUri,
LocalMetricRegistry localRegistry) {
super(serverEventBus, configuration);
this.clusterConfigService = clusterConfigService;
this.serverStatus = serverStatus;
this.objectMapper = objectMapper;
this.httpProxyUri = httpProxyUri;
this.localRegistry = localRegistry;
}
示例12: FlowLogsInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@Inject
public FlowLogsInput(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
KinesisTransport.Factory transport,
LocalMetricRegistry localRegistry,
CloudWatchFlowLogCodec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
transport.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus
);
}
示例13: MongoDBProfilerInput
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@AssistedInject
public MongoDBProfilerInput(@Assisted Configuration configuration,
MetricRegistry metricRegistry,
MongoDBProfilerTransport.Factory transport,
LocalMetricRegistry localRegistry,
MongoDBProfilerCodec.Factory codec,
Config config,
Descriptor descriptor,
ServerStatus serverStatus) {
super(
metricRegistry,
configuration,
transport.create(configuration),
localRegistry,
codec.create(configuration),
config,
descriptor,
serverStatus
);
}
示例14: S3Transport
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@AssistedInject
public S3Transport(@Assisted final Configuration configuration,
final EventBus serverEventBus,
final ServerStatus serverStatus,
LocalMetricRegistry localRegistry) {
super(serverEventBus, configuration);
this.serverStatus = serverStatus;
this.localRegistry = localRegistry;
}
示例15: NsqTransport
import org.graylog2.plugin.LocalMetricRegistry; //导入依赖的package包/类
@Inject
public NsqTransport(@Assisted final Configuration configuration,
final EventBus serverEventBus,
final LocalMetricRegistry localRegistry) {
super(serverEventBus, configuration);
this.configuration = configuration;
this.localRegistry = localRegistry;
}