dconnett-splunk / splunk-add-on-for-dynatrace Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Describe the bug
SSL/TLS issue: cert.pem “File name too long” ----BEGIN CERTIFICATE...."
Expected behavior
A clear and concise description of what you expected to happen.
Some of the customer report that after some time add-on stop to add metrics in Splunk, this can be due to the same timestamp for a lot of metrics, according to this message from customer:
From Customer: I think the issue will center around this error in internal logs.
01-22-2024 06:54:02.724 -0600 WARN AggregatorMiningProcessor [5267 merging] - Too many events (100K) with the same timestamp: incrementing timestamps 1 second(s) into the future to insure retrievability - data_source="dynatrace_timeseries_metrics://dynatrace_time_series_metrics", data_host="splk.customer.com", data_sourcetype="dynatrace:metrics"
01-22-2024 06:33:21.543 -0600 WARN DateParserVerbose [5267 merging] - The same timestamp has been used for 100K consecutive times. If more than 200K events have the same timestamp, not all events may be retrieveable. Context: source=dynatrace_timeseries_metrics://dynatrace_time_series_metrics|host=splk.customer.com.com|dynatrace:metrics|\n 1 similar messages suppressed. First occurred at: Mon Jan 22 06:24:01 2024
Describe the bug
time
is being passed as the parameter for entities and metrics endpoints. The field for these endpoints is inconsistent with other parts of the Dynatrace API and needs from
instead of time
.
The Dynatrace API defaults to 2 hours due to not recognizing the time parameter.
See documentation here:
https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/get-data-points#parameters
https://docs.dynatrace.com/docs/dynatrace-api/environment-api/entity-v2/get-entities-list#parameters
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The interval should reflect what the user has set.
Desktop (please complete the following information):
All platforms are affected.
Additional context
This is the code that is used calculate and rewrite the fields per endpoint:
splunk-add-on-for-dynatrace/package/bin/util.py
Lines 340 to 368 in 7f0b089
The field mappings per endpoint are defined here:
splunk-add-on-for-dynatrace/package/bin/util.py
Lines 58 to 160 in 7f0b089
Describe the bug
Entities API does not contain all the expected data. Reports are coming in that some entityIds are missing.
Additional context
We cannot reproduce this in dev or test environments. It seems to be related to the load the system is under.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.