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

add gauge metric support for signaltometrics connector #37093

Open
gilad-aperio opened this issue Jan 8, 2025 · 3 comments
Open

add gauge metric support for signaltometrics connector #37093

gilad-aperio opened this issue Jan 8, 2025 · 3 comments
Labels

Comments

@gilad-aperio
Copy link

Component(s)

connector/signaltometrics

Is your feature request related to a problem? Please describe.

Many systems, especially legacy ones, report metrics through logs. Analyzing metric data directly from logs is inefficient and complex, which highlights the need to extract it from the logs during collection and store it as a separate signal. This capability already exists on the receiving end of many monitoring platforms (1, 2, 3) - having it in OTel would greatly enhance it.
The signaltometrics connector is a huge step toward this, but it does not produce the gauge metric type currently. This is a request to add gauge to the list of supported produced metrics.

Describe the solution you'd like

Example configuration:

connectors:
  signaltometrics:
    gauge:
      value: ExtractGrokPatterns(body, "%{TIMESTAMP_ISO8601:timestamp} Memory usage: %{NUMBER:memory_mb:float}MB")

Log: 2025-01-08 16:28:00 Memory usage: 600MB
Result:

[
  {
    "timestamp": "2025-01-08 16:28:00",
    "memory_mb": 600
  }
]

Describe alternatives you've considered

No response

Additional context

No response

@gilad-aperio gilad-aperio added enhancement New feature or request needs triage New item requiring triage labels Jan 8, 2025
Copy link
Contributor

github-actions bot commented Jan 8, 2025

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@lahsivjar
Copy link
Member

Sounds good to me.

@lahsivjar
Copy link
Member

/label -needs-triage

@github-actions github-actions bot removed the needs triage New item requiring triage label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants