Skip to content

Network for Metrics

Carlos Quiroz edited this page Sep 12, 2025 · 4 revisions
graph LR
    subgraph "Users"
        ExtUsers[External Users]
        IntUsers[Internal Users]
    end
    
    subgraph "Firebase"
        Explore[Explore UI]
    end
    
    subgraph "Heroku Cloud Platform"
        subgraph "Production Services"
            ODB[ODB Service]
            SSO[SSO Service]
            ITC[ITC Service]
        end
        
        subgraph "Worker Dynos"
            Calibration[Calibration Worker]
            ObsCalc[ObsCalc Worker]
        end
        
        subgraph "Heroku Add-ons"
            HerokuPG[(Postgres Database)]
            HerokuRedis[(Redis Cache)]
        end
    end
    
    subgraph "NOIRLab Network"
        Navigate[Navigate Service]
        Observe[Observe Service]
        TED[TED Application]
        Grafana[Grafana UI]
        MetricsDB[(Metrics/Logs/Epics DB)]
    end
    
    subgraph "Honeycomb"
        Tracing[Tracing Data Store]
    end
    
    ExtUsers -->|https| Explore
    IntUsers -->|https| Explore
    ExtUsers -->|https| ODB
    ExtUsers -->|https| SSO
    ExtUsers -->|https| ITC
    IntUsers --> Navigate
    IntUsers --> Observe
    IntUsers --> Grafana
    
    Explore -->|https| ODB
    Explore -->|https| SSO
    Explore -->|https| ITC
    
    ODB --> HerokuPG
    SSO --> HerokuPG
    ITC --> HerokuRedis
    Calibration --> HerokuPG
    ObsCalc --> HerokuPG
    
    Navigate -->|https| ODB
    Observe -->|https| ODB
    TED --> MetricsDB
    Grafana --> MetricsDB
    
    ODB -.->|https<br/>metrics| Tracing
    SSO -.->|https<br/>metrics| Tracing
    ITC -.->|https<br/>metrics| Tracing
    Explore -.->|https<br/>metrics| Tracing
    Navigate -.->|https<br/>metrics| Tracing
    Observe -.->|https<br/>metrics| Tracing
    
    classDef firebase fill:#f97316,stroke:#ea580c,color:#fff
    classDef herokuService fill:#8b5cf6,stroke:#7c3aed,color:#fff
    classDef herokuWorker fill:#a78bfa,stroke:#8b5cf6,color:#fff
    classDef database fill:#0ea5e9,stroke:#0284c7,color:#fff
    classDef noirlab fill:#10b981,stroke:#059669,color:#fff
    classDef users fill:#64748b,stroke:#475569,color:#fff
    classDef monitoring fill:#ec4899,stroke:#db2777,color:#fff
    
    class Explore firebase
    class ODB,SSO,ITC herokuService
    class Calibration,ObsCalc herokuWorker
    class HerokuPG,HerokuRedis,MetricsDB database
    class Navigate,Observe,TED,Grafana noirlab
    class ExtUsers,IntUsers users
    class Tracing monitoring
Loading

We would like to improve the current situation to:

  • Let external users have access to the grafana UI
  • allow TED to extract metrics from heroku
Clone this wiki locally