You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Danut Radoaica (Jira)" <ji...@apache.org> on 2022/08/22 15:35:00 UTC

[jira] [Created] (IGNITE-17566) .NET: high cpu usage when using OpenCensus module

Danut Radoaica created IGNITE-17566:
---------------------------------------

             Summary: .NET: high cpu usage when using OpenCensus module
                 Key: IGNITE-17566
                 URL: https://issues.apache.org/jira/browse/IGNITE-17566
             Project: Ignite
          Issue Type: Bug
          Components: platforms
    Affects Versions: 2.13
         Environment: Apache Ignite: v2.13.0

JDK: v1.11

.NET Core: v6.0

2 instances of 2vCPU and 6GB each
            Reporter: Danut Radoaica
         Attachments: apache ignite prod 2022-08-22 183303.png

At every 60seconds (the export period) we have an aprox. 0.5vCPU spike.

I attached an image with CPU/RAM levels.

The config: 

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/util
        http://www.springframework.org/schema/util/spring-util.xsd">
  <bean class="org.apache.ignite.configuration.IgniteConfiguration">
    <property name="discoverySpi">
      <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
        <property name="ipFinder">
          <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder">
              <property name="namespace" value="K8S_NAMESPACE"/>
              <property name="serviceName" value="K8S_SERVICE_NAME"/>
          </bean>
        </property>
      </bean>
    </property>
    <property name="metricExporterSpi">
      <list>
        <bean class="org.apache.ignite.spi.metric.opencensus.OpenCensusMetricExporterSpi">
          <property name="period" value="OPEN_CENSUS_METRIC_EXPORTER_SPI_PERIOD" />
        </bean>
      </list>
    </property>
  </bean>
  <bean id="opencensusWrapper" class="org.springframework.beans.factory.config.MethodInvokingBean">
    <property name="staticMethod" value="io.opencensus.exporter.stats.prometheus.PrometheusStatsCollector.createAndRegister"/>
  </bean>
  <bean id="httpServer" class="io.prometheus.client.exporter.HTTPServer">
    <constructor-arg type="java.lang.String" value="0.0.0.0"/>
    <constructor-arg type="int" value="9000"/>
    <constructor-arg type="boolean" value="true"/>
  </bean>
</beans>



--
This message was sent by Atlassian Jira
(v8.20.10#820010)