# metrics.gauge.LazyDelegatingGauge unknown type

**URL:** <https://discuss.elastic.co/t/metrics-gauge-lazydelegatinggauge-unknown-type/219195>\
**Category:** Logstash\
**Created:** [February 13, 2020, 12:12pm UTC](https://discuss.elastic.co/t/metrics-gauge-lazydelegatinggauge-unknown-type/219195 "2020-02-13T12:12:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefws](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefws/32/6442_2.png) [@stefws](https://discuss.elastic.co/u/stefws)\
**Post date:** [February 13, 2020, 12:12pm UTC](https://discuss.elastic.co/t/metrics-gauge-lazydelegatinggauge-unknown-type/219195/1 "2020-02-13T12:12:34Z")

</div>

Updated logstash and are still seeing the warning: constant ::Fixnum upon launching logstash anything to do clear this warning?

```
Downloading Packages:
logstash-7.6.0.rpm | 158 MB 00:02     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating : 1:logstash-7.6.0-1.noarch 1/2 
warning: /etc/logstash/logstash.yml created as /etc/logstash/logstash.yml.rpmnew
Using provided startup.options file: /etc/logstash/startup.options
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/pleaserun-0.0.30/lib/pleaserun/platform/base.rb:112: warning: constant ::Fixnum is deprecated
Successfully created system startup script for Logstash
  Cleanup : 1:logstash-7.5.1-1.noarch 2/2 
  Verifying : 1:logstash-7.6.0-1.noarch 1/2 
  Verifying : 1:logstash-7.5.1-1.noarch 2/2 

Updated:
  logstash.noarch 1:7.6.0-1                                                                                                                                                                       

Complete!
Validating logstash-input-jmx
Installing logstash-input-jmx
Installation successful

```

And the warning of the gauge metric of unknown type in the log?

```
[2020-02-13T11:59:21,396][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2020-02-13T11:59:27,877][WARN][logstash.outputs.elasticsearch][main] Restored connection to ES instance {:url=>"http://<redacted>:xxxxxx@es-mst1:9200/"}
[2020-02-13T11:59:27,941][WARN][logstash.outputs.elasticsearch][main] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type {:es_version=>7}
[2020-02-13T11:59:27,980][WARN][logstash.outputs.elasticsearch][main] Restored connection to ES instance {:url=>"http://<redacted>:xxxxxx@es-mst2:9200/"}
[2020-02-13T11:59:28,017][WARN][logstash.outputs.elasticsearch][main] Restored connection to ES instance {:url=>"http://<redacted>:xxxxxx@es-mst3:9200/"}
[2020-02-13T11:59:28,418][WARN][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge][main] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been create for key: cluster_uuids. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.

```

TIA

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 13, 2020, 1:38pm UTC](https://discuss.elastic.co/t/metrics-gauge-lazydelegatinggauge-unknown-type/219195/2 "2020-02-13T13:38:55Z")

</div>

> [@stefws](#):
>
> [WARN][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge][main] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been create for key: cluster\_uuids. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.

I believe that is normal and you can ignore it.

---

<div class="post-metadata">

**Author:** ![stefws](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefws/32/6442_2.png) [@stefws](https://discuss.elastic.co/u/stefws)\
**Post date:** [February 14, 2020, 9:29am UTC](https://discuss.elastic.co/t/metrics-gauge-lazydelegatinggauge-unknown-type/219195/3 "2020-02-14T09:29:30Z")

</div>

Have been for long, only thought I would mention it as dev team recommends notifying them 🙂

Any clue about the constant ::Fixnum warning?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 14, 2020, 4:44pm UTC](https://discuss.elastic.co/t/metrics-gauge-lazydelegatinggauge-unknown-type/219195/4 "2020-02-14T16:44:28Z")

</div>

> [@stefws](#):
>
> Any clue about the constant ::Fixnum warning?

A known [issue](https://github.com/jordansissel/pleaserun/issues/142) on third-party (ish) software.

---

<div class="post-metadata">

**Author:** ![stefws](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefws/32/6442_2.png) [@stefws](https://discuss.elastic.co/u/stefws)\
**Post date:** [February 17, 2020, 7:38am UTC](https://discuss.elastic.co/t/metrics-gauge-lazydelegatinggauge-unknown-type/219195/5 "2020-02-17T07:38:33Z")

</div>

Right, as I read this ticket is still open and thus no fix to bundle with logstash yet ☹  
Assume time will resolve this... haven't seen any issue due to this though with our logstash processing.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 16, 2020, 7:38am UTC](https://discuss.elastic.co/t/metrics-gauge-lazydelegatinggauge-unknown-type/219195/6 "2020-03-16T07:38:43Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
