当前位置: 首页>>代码示例>>Java>>正文


Java LocalMetricRegistry类代码示例

本文整理汇总了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);
}
 
开发者ID:sherzberg,项目名称:graylog-plugin-s3,代码行数:20,代码来源:S3Input.java

示例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
    );
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-cef,代码行数:21,代码来源:CEFUDPInput.java

示例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
    );
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-cef,代码行数:21,代码来源:CEFTCPInput.java

示例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
    );
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-cef,代码行数:21,代码来源:CEFKafkaInput.java

示例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
    );
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-cef,代码行数:21,代码来源:CEFAmqpInput.java

示例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);
}
 
开发者ID:tom-saunders,项目名称:graylog-plugin-sflow-input,代码行数:20,代码来源:SFlowInput.java

示例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());
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-netflow,代码行数:14,代码来源:NetFlowUdpTransportTest.java

示例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);
}
 
开发者ID:graylog-labs,项目名称:graylog-plugin-spaceweather,代码行数:17,代码来源:SpaceweatherInput.java

示例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
    );
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-aws,代码行数:21,代码来源:CloudWatchLogsInput.java

示例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);
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-aws,代码行数:20,代码来源:CloudTrailInput.java

示例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;
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-aws,代码行数:17,代码来源:CloudTrailTransport.java

示例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
    );
}
 
开发者ID:Graylog2,项目名称:graylog-plugin-aws,代码行数:21,代码来源:FlowLogsInput.java

示例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
    );
}
 
开发者ID:graylog-labs,项目名称:graylog-plugin-mongodb-profiler,代码行数:21,代码来源:MongoDBProfilerInput.java

示例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;
}
 
开发者ID:sherzberg,项目名称:graylog-plugin-s3,代码行数:10,代码来源:S3Transport.java

示例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;
}
 
开发者ID:condevtec,项目名称:graylog-plugin-nsq,代码行数:9,代码来源:NsqTransport.java


注:本文中的org.graylog2.plugin.LocalMetricRegistry类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。