Changeset 01c98d2a7a4abe4ad1e76a475e64bd6632749cbc

Show
Ignore:
Timestamp:
05/24/12 13:46:57 (2 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1337867217 -0400
git-parent:

[2b4c04b33a4deb9a8e7842fdbdd085bc346ad8ad]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1337867217 -0400
Message:

support direct introspection of the 'still-wrapped' bundles

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/java/com/omniti/reconnoiter/event/NoitBundlev2.java

    r960593b r01c98d2  
    1919public class NoitBundlev2 extends NoitEvent { 
    2020  LinkedList<NoitEvent> items; 
     21  private long time; 
     22  private String noit; 
     23  private String uuid; 
     24  private String check_target; 
     25  private String check_module; 
     26  private String check_name; 
    2127 
    2228  public String getPrefix() { 
     
    4551    items = new LinkedList<NoitEvent>(); 
    4652    String id[] = extended_id_split(parts[3]); 
    47     String noit = parts[1]; 
     53    noit = parts[1]; 
    4854    String timestamp = parts[2]; 
    49     String uuid = id[3]; 
     55    time = timeToLong(timestamp); 
     56    check_target = id[0]; 
     57    check_module = id[1]; 
     58    check_name = id[2]; 
     59    uuid = id[3]; 
    5060    String target = parts[4]; 
    5161    String module = parts[5]; 
     
    101111  } 
    102112 
     113  public String getUuid() { return uuid; } 
     114  public long getTime() { return time; } 
     115  public String getNoit() { return noit; } 
     116  public String getCheck_target() { return check_target; } 
     117  public String getCheck_module() { return check_module; } 
     118  public String getCheck_name() { return check_name; } 
     119 
    103120  public int numparts() { return 9; } 
    104121  public void handle(IEventHandler eh) { 
  • src/java/com/omniti/reconnoiter/event/NoitMetricNumeric.java

    rd483232 r01c98d2  
    1717    private String check_name; 
    1818    private String name; 
    19     private long time; 
    20     private Double value; 
     19    public long time; 
     20    public Double value; 
    2121    private String noit; 
    2222 
  • src/java/com/omniti/reconnoiter/event/NoitMetricText.java

    rd483232 r01c98d2  
    1212 
    1313public class NoitMetricText extends NoitEvent { 
    14    String uuid
    15    Long time; 
    16    String name
    17    String message; 
    18    String noit; 
    19    String check_target; 
    20    String check_module; 
    21    String check_name; 
     14   public long time
     15   public String message; 
     16   private String uuid
     17   private String name; 
     18   private String noit; 
     19   private String check_target; 
     20   private String check_module; 
     21   private String check_name; 
    2222 
    2323   public String getPrefix() { 
     
    4141    } 
    4242    public String getUuid() { return uuid; } 
    43     public Long getTime() { return time; } 
     43    public long getTime() { return time; } 
    4444    public String getName() { return name; } 
    4545    public String getMessage() { return message; }