Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing name tag for metric warnings #302

Open
mraible opened this issue Feb 21, 2024 · 0 comments
Open

Missing name tag for metric warnings #302

mraible opened this issue Feb 21, 2024 · 0 comments

Comments

@mraible
Copy link
Contributor

mraible commented Feb 21, 2024

Overview of the issue

These messages show up in the logs when you visit the metrics page of an app generated with jhipster jdl default --skip-jhipster-dependencies:

16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.gets
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.evictions
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.evictions
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.gets
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.gets
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.evictions
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.gets
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.gets
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.puts
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.gets
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.puts
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.gets
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.puts
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.gets
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.puts
16:53:25.957 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.evictions
16:53:25.958 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.removals
16:53:25.959 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.removals
16:53:25.959 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.removals
16:53:25.959 [default-nioEventLoopGroup-1-2] WARN  c.m.m.c.m.JHipsterMetricsEndpoint - Missing name tag for metric cache.removals
Reproduce the error

Create an app with jhipster jdl default --skip-jhipster-dependencies.

Related issues
Suggest a Fix
JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "applicationIndex": 0,
    "backendType": "Micronaut",
    "baseName": "jhipster",
    "blueprints": [
      {
        "name": "generator-jhipster-micronaut",
        "version": "3.0.0"
      }
    ],
    "creationTimestamp": 1708559039230,
    "devServerPort": 4200,
    "entities": [],
    "jhipsterVersion": "8.1.0",
    "languages": [
      "en"
    ],
    "nativeLanguage": "en",
    "prodDatabaseType": "postgresql",
    "skipJhipsterDependencies": true
  }
}
Environment and Tools

openjdk version "21.0.2" 2024-01-16 LTS
OpenJDK Runtime Environment Temurin-21.0.2+13 (build 21.0.2+13-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode)

git version 2.39.3 (Apple Git-145)

node: v20.11.0
npm: 10.4.0

Docker version 25.0.3, build 4debf41

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant