solarwinds_apm 5.1.0.pre → 5.1.2.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc766e2dd8854c2ef34e02a54d876b534ccffb22a2f8ddbd71c1060efa984a72
4
- data.tar.gz: 65f268b9ad517a26cbd6abb13d31926be9cf1b2eaee761260a901b1635511c78
3
+ metadata.gz: 1dc9609367e4ab8337c50bdf4519be069d8c16ded35ddbb4bb87d76604a2eef1
4
+ data.tar.gz: 5913c2ff38bb199724a72e92c391a3d5c45e2121620fb8087a66476ac4e0458d
5
5
  SHA512:
6
- metadata.gz: a5b401413127481da97a8f846f6ac4f6a6e63ee71b1ea96dbf46ca36634f12d15c06b03aa6e334ddf1c08e8a002d1db31d8ba9d2ce538a263ee4e65b69fa8176
7
- data.tar.gz: 2dc379d38e934170ddb1930dc2e8f2748331c07d0771c2f2323544cd632e91ed2804e2fb92dac8af07f0e12ea49c8c6af397409e3ca0bc9e1f797eceddf01edb
6
+ metadata.gz: cd0a42684705c797ce5806ebf83d4229a1e3c9641286d445bfc5025dea7c574004bf54bca27ddbfdd24b3b2fb1dadae62809b5211a83eef3788e0b4ac4fcfdb5
7
+ data.tar.gz: 0b802597b33e20007af5d1982009a30cd46936172666d7d683ad0803591225fa852e9f7765d5b552d790494c630f22dee1e3c64f141c9f374f759975e4cc3c53
@@ -37,7 +37,8 @@ bool Logging::log_profile_entry(Metadata &md, string &prof_op_id, pid_t tid, lon
37
37
  event->addInfo((char *)"Interval", interval);
38
38
 
39
39
  struct timeval tv;
40
- oboe_gettimeofday(&tv);
40
+ struct timezone *tz = NULL;
41
+ gettimeofday(&tv, tz);
41
42
  event->addInfo((char *)"Timestamp_u", (long)tv.tv_sec * 1000000 + (long)tv.tv_usec);
42
43
 
43
44
  return Logging::log_profile_event(event);
@@ -51,7 +52,8 @@ bool Logging::log_profile_exit(Metadata &md, string &prof_op_id, pid_t tid,
51
52
  event->addInfo((char *)"SnapshotsOmitted", omitted, num_omitted);
52
53
 
53
54
  struct timeval tv;
54
- oboe_gettimeofday(&tv);
55
+ struct timezone *tz = NULL;
56
+ gettimeofday(&tv, tz);
55
57
  event->addInfo((char *)"Timestamp_u", (long)tv.tv_sec * 1000000 + (long)tv.tv_usec);
56
58
 
57
59
  return Logging::log_profile_event(event);
@@ -8,8 +8,7 @@
8
8
 
9
9
  using namespace std;
10
10
 
11
- extern "C" int oboe_gettimeofday(struct timeval *tv);
12
-
11
+ // extern "C" int oboe_gettimeofday(struct timeval *tv);
13
12
 
14
13
  class Logging {
15
14
  public:
@@ -61,8 +61,8 @@ void print_prof_data_map() {
61
61
 
62
62
  long ts_now() {
63
63
  struct timeval tv;
64
-
65
- oboe_gettimeofday(&tv);
64
+ struct timezone *tz = NULL;
65
+ gettimeofday(&tv, tz);
66
66
  return (long)tv.tv_sec * 1000000 + (long)tv.tv_usec;
67
67
  }
68
68
 
@@ -191,7 +191,7 @@ module SolarWindsAPM
191
191
  end
192
192
 
193
193
  def determine_the_metric_model
194
- if ENV['SW_APM_COLLECTOR'].include? "appoptics.com"
194
+ if ENV['SW_APM_COLLECTOR']&.include? "appoptics.com"
195
195
  return 1
196
196
  else
197
197
  return 0
@@ -8,7 +8,7 @@ module SolarWindsAPM
8
8
  module Version
9
9
  MAJOR = 5 # breaking,
10
10
  MINOR = 1 # feature,
11
- PATCH = 0 # fix => BFF
11
+ PATCH = 2 # fix => BFF
12
12
  PRE = "pre" # for pre-releases into packagecloud, set to nil for production releases into rubygems
13
13
 
14
14
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solarwinds_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0.pre
4
+ version: 5.1.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maia Engeli
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-10-06 00:00:00.000000000 Z
14
+ date: 2022-10-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json