[ 
https://issues.apache.org/jira/browse/IGNITE-25280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Novikov updated IGNITE-25280:
------------------------------------
    Description: 
How to reproduce:
1. Start cluster
2. Configure otlp exporter
{code:java}
 cluster config update "ignite.metrics.exporters=[
     {
         compression=none
         endpoint="http://localhost:3001/api";
         exporterName=otlp
         headers=[]
         name="cc_exporter"
         periodMillis=5000
         protocol="http/protobuf"
     }
 ]" {code}
3. Exporter will start sending metrics. If collector is not configured on port 
3001, error logs start to appear on the nodes.
4. Disable exporter
{code:java}
cluster config update "ignite.metrics.exporters.cc_exporter=null" {code}
5. No error logs or metrics in collector
6. Repeat step 2, to reenable exporter. Metrics/error logs won't appear.
7. Restart the nodes. Metrics/error logs will appear.

  was:
How to reproduce:
1. Start cluster
2. Configure otlp exporter
{code:java}
 cluster config update "ignite.metrics.exporters=[
     {
         compression=none
         endpoint="http://localhost:3001/api";
         exporterName=otlp
         headers=[]
         name="test_exporter"
         period=5000
         protocol="http/protobuf"
     }
 ]" {code}
3. Exporter will start sending metrics. If collector is not configured on port 
3001, error logs start to appear on the nodes.
4. Disable exporter
{code:java}
cluster config update "ignite.metrics.exporters.cc_exporter=null" {code}
5. No error logs or metrics in collector
6. Repeat step 2, to reenable exporter. Metrics/error logs won't appear.
7. Restart the nodes. Metrics/error logs will appear.


> Ignite 3 open telemetry exporter doesn't work if it was disabled and then 
> enabled while cluster running.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-25280
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25280
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Nusrat Shakarov
>            Priority: Major
>              Labels: ignite-3, metrics
>
> How to reproduce:
> 1. Start cluster
> 2. Configure otlp exporter
> {code:java}
>  cluster config update "ignite.metrics.exporters=[
>      {
>          compression=none
>          endpoint="http://localhost:3001/api";
>          exporterName=otlp
>          headers=[]
>          name="cc_exporter"
>          periodMillis=5000
>          protocol="http/protobuf"
>      }
>  ]" {code}
> 3. Exporter will start sending metrics. If collector is not configured on 
> port 3001, error logs start to appear on the nodes.
> 4. Disable exporter
> {code:java}
> cluster config update "ignite.metrics.exporters.cc_exporter=null" {code}
> 5. No error logs or metrics in collector
> 6. Repeat step 2, to reenable exporter. Metrics/error logs won't appear.
> 7. Restart the nodes. Metrics/error logs will appear.



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

Reply via email to