metrist_ipa 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96874eca5e5e3fed37906fef4221079ec5fd36c72fc778a6cfb4820ffebc944e
4
- data.tar.gz: 04a905b98798b4603abb4f3cab7edddd3408de6bee8e08ed4c1f426941cba1d5
3
+ metadata.gz: 5cf9c2dfc0f1016c7096610b5bd73c118689316fdf865c2d6869687ff342d663
4
+ data.tar.gz: a5724a759bff28bc3a2fde24b337ac19967e3b80de66f3275ef4675768bddad9
5
5
  SHA512:
6
- metadata.gz: fdd2a23bc8c01cd5ae52611746290d08d07e850beb41c1a66c44aadc03970c6001a4f3fa055693887fddfff2e7fc0912a7249f5c57fb0e26e7b25c24f2b8d7bf
7
- data.tar.gz: 896e3bf1639bf0316905935430655fa2cf556d8e4270a884d2a76fdb8a46b80ad08e33a5a621cb5de911c3693ec1049b6a0c1bab982acd54aed146372fc8de36
6
+ metadata.gz: 821a28b8fafa28e99488cde898a2b3b3947576f52a1a3acb313c618a3243311db0b7c768c3dc97b908a125e0320ec0b0f011144e8e053dc2c22371cb925f3dab
7
+ data.tar.gz: f9e124bb380a348785d938a4f9c793af5a28eb4f945ce325c4a89ea801ad091919d86d8971a6af4dc6b583bfb5259f38d43a6ed9fa4e4afefaf3e7db4faf7a1d
data/README.md CHANGED
@@ -3,21 +3,21 @@
3
3
  This Rails Plugin/Gem contains the Metrist In-Process Agent.
4
4
 
5
5
  The goal of this agent is simple: all outgoing HTTP traffic gets intercepted and is sent off
6
- to the local Metrist Agent, which sifts through the data and decides what to do with it.
6
+ to the local Metrist Orchestrator, which sifts through the data and decides what to do with it.
7
7
 
8
8
  It is kept very simple on purpose: it will time the call, and then send some elementary
9
- data to the host's agent per UDP. The overhead of this is in the order of microseconds,
9
+ data to the host's orchestrator per UDP. The overhead of this is in the order of microseconds,
10
10
  and an UDP `send()` will not block; this way, we can be sure that your application will
11
- not be impacted. All the heavy lifting is done in the Monitoring Agent, where it is fine
11
+ not be impacted. All the heavy lifting is done in the Monitoring Orchestrator, where it is fine
12
12
  if stuff gets delayed, dropped, or whatever.
13
13
 
14
14
  ## Usage
15
15
 
16
16
  Just installing the Gem is enough. There is some optional configuration through the environment:
17
17
 
18
- * `METRIST_AGENT_HOST` can be set to a hostname/IP to send the telemetry data to, the default
18
+ * `METRIST_ORCHESTRATOR_HOST` can be set to a hostname/IP to send the telemetry data to, the default
19
19
  is to send to localhost.
20
- * `METRIST_AGENT_PORT` can be set to a port to send the telemetry data to, the default is to
20
+ * `METRIST_ORCHESTRATOR_PORT` can be set to a port to send the telemetry data to, the default is to
21
21
  sent to port 51712.
22
22
 
23
23
  ## Rails usage
@@ -1,3 +1,3 @@
1
1
  module MetristIpa
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.0'
3
3
  end
data/lib/metrist_ipa.rb CHANGED
@@ -3,10 +3,10 @@ module MetristIpa
3
3
  attr_writer :host, :port
4
4
 
5
5
  def host
6
- @host || ENV["METRIST_AGENT_HOST"] || "127.0.0.1"
6
+ @host || ENV["METRIST_ORCHESTRATOR_HOST"] || "127.0.0.1"
7
7
  end
8
8
  def port
9
- @port || (ENV["METRIST_AGENT_PORT"] || "51712").to_i
9
+ @port || (ENV["METRIST_ORCHESTRATOR_PORT"] || "51712").to_i
10
10
  end
11
11
  def config
12
12
  yield self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metrist_ipa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metrist, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-03 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails