|
| 1 | +--- |
| 2 | +date: 2025-09-09 |
| 3 | +id: migrate-metrics-from-honeycomb |
| 4 | +title: Migrate Metrics from Honeycomb to SigNoz |
| 5 | +description: Learn how to migrate metrics and SLOs from Honeycomb to SigNoz using Prometheus receiver, OTLP metrics. |
| 6 | +--- |
| 7 | + |
| 8 | + |
| 9 | +With Honeycomb's transition to OpenTelemetry-first approach, migrating your metrics monitoring to SigNoz becomes straightforward while offering enhanced capabilities through unified observability. |
| 10 | +This guide walks you through migrating custom metrics, converting SLOs to alert rules, and leveraging SigNoz's comprehensive metrics platform. |
| 11 | + |
| 12 | +## Prerequisites |
| 13 | + |
| 14 | +- [SigNoz Cloud account](https://signoz.io/teams/) or [self-hosted SigNoz](https://signoz.io/docs/install/self-host/) setup |
| 15 | +- [OpenTelemetry data flowing to SigNoz](/docs/migration/migrate-from-opentelemetry-to-signoz/) |
| 16 | +- Access to your current Honeycomb metrics and derived columns |
| 17 | +- Understanding of your existing SLO definitions |
| 18 | + |
| 19 | + |
| 20 | +## Understanding the Migration Path |
| 21 | + |
| 22 | +### Honeycomb Metrics Model |
| 23 | + |
| 24 | +Honeycomb treats metrics as derived insights from events: |
| 25 | + |
| 26 | +- **Derived Columns**: Calculated fields from trace and event data |
| 27 | +- **Custom Events**: Application-specific metrics sent as structured events |
| 28 | +- **SLOs**: Service Level Objectives based on event query aggregations |
| 29 | +- **Triggers**: Alert conditions based on query thresholds and burn rates |
| 30 | + |
| 31 | +### SigNoz Unified Metrics Platform |
| 32 | + |
| 33 | +SigNoz provides comprehensive metrics capabilities: |
| 34 | + |
| 35 | +- **Native OpenTelemetry**: OTLP metrics ingestion with full semantic conventions |
| 36 | +- **Prometheus Compatible**: Complete PromQL support and Prometheus ecosystem integration |
| 37 | +- **Infrastructure Monitoring**: Built-in host, container, and Kubernetes metrics |
| 38 | +- **Unified Dashboards**: Metrics, logs, and traces correlation in single interface |
| 39 | +- **Advanced Alerting**: Multi-condition rules with notification channel integrations |
| 40 | + |
| 41 | +## Migration Strategy |
| 42 | + |
| 43 | +### Path 1: Already Using OpenTelemetry with Honeycomb |
| 44 | + |
| 45 | +If you're already sending OpenTelemetry data to Honeycomb via OTLP, migration is simply changing endpoints. **No SDK changes needed** since both platforms use OpenTelemetry. |
| 46 | + |
| 47 | + |
| 48 | +**Current Configuration (Honeycomb):** |
| 49 | +```yaml |
| 50 | +# OpenTelemetry Collector config |
| 51 | +exporters: |
| 52 | + otlp: |
| 53 | + endpoint: "api.honeycomb.io:443" |
| 54 | + headers: |
| 55 | + "x-honeycomb-team": "${HONEYCOMB_API_KEY}" |
| 56 | + "x-honeycomb-dataset": "your-dataset" |
| 57 | +``` |
| 58 | +
|
| 59 | +**Updated Configuration [(SigNoz Cloud)](/docs/migration/migrate-from-opentelemetry/cloud/):** |
| 60 | +```yaml |
| 61 | +exporters: |
| 62 | + otlp: |
| 63 | + endpoint: "ingest.{region}.signoz.cloud:443" |
| 64 | + tls: |
| 65 | + insecure: false |
| 66 | + headers: |
| 67 | + "signoz-access-token": "${SIGNOZ_INGESTION_KEY}" |
| 68 | +``` |
| 69 | +
|
| 70 | +**Updated Configuration [(Self-hosted SigNoz)](/docs/migration/migrate-from-opentelemetry/self-hosted/):** |
| 71 | +```yaml |
| 72 | +exporters: |
| 73 | + clickhousemetricsexporter: |
| 74 | + dsn: tcp://clickhouse:9000/?database=signoz_metrics |
| 75 | + timeout: 5s |
| 76 | +``` |
| 77 | +
|
| 78 | +**Application Environment Variables:** |
| 79 | +```bash |
| 80 | +# Before (Honeycomb) |
| 81 | +export OTEL_EXPORTER_OTLP_ENDPOINT=https://api.honeycomb.io:443 |
| 82 | +export OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=YOUR_API_KEY" |
| 83 | + |
| 84 | +# After (SigNoz Cloud) |
| 85 | +export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{region}.signoz.cloud:443 |
| 86 | +export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token=YOUR_SIGNOZ_KEY" |
| 87 | +``` |
| 88 | +### Path 2: Using Legacy Honeycomb SDKs (Two-Step Migration) |
| 89 | + |
| 90 | +If you're using legacy Honeycomb SDKs (Beelines, Honeycomb Distributions), you need a two-step approach: |
| 91 | + |
| 92 | +#### Migrate to OpenTelemetry First |
| 93 | + |
| 94 | +**Follow Honeycomb's official migration documentation to move from legacy SDKs to OpenTelemetry:** |
| 95 | + |
| 96 | +- **[Migrate from Honeycomb Distributions](https://docs.honeycomb.io/troubleshoot/product-lifecycle/recommended-migrations/migrate-from-honeycomb-distributions/)** |
| 97 | +- **[Migrating from Beeline SDKs](https://docs.honeycomb.io/getting-data-in/beelines/)** |
| 98 | + |
| 99 | +This ensures you: |
| 100 | +- Replace legacy SDK calls with OpenTelemetry instrumentation |
| 101 | +- Configure proper metric collection using OpenTelemetry standards |
| 102 | +- Maintain compatibility with both Honeycomb (during testing) and SigNoz |
| 103 | + |
| 104 | +#### Step 2: Change OpenTelemetry Endpoint to SigNoz |
| 105 | + |
| 106 | +Once you've migrated to OpenTelemetry and verified your metrics work with Honeycomb, follow **Path 1** above to change the endpoint to SigNoz. |
| 107 | + |
| 108 | + |
| 109 | +## Configure Additional Metrics Sources |
| 110 | + |
| 111 | +After completing the basic OpenTelemetry endpoint migration, you may need to configure additional metrics collection methods to capture all your Honeycomb metrics in SigNoz. |
| 112 | + |
| 113 | +SigNoz supports multiple metrics ingestion methods: |
| 114 | +- **OTLP Metrics**: Direct from OpenTelemetry SDKs (primary method) |
| 115 | +- **Prometheus Receiver**: For existing Prometheus metrics endpoints |
| 116 | +- **Custom Metrics**: Application-specific business metrics |
| 117 | + |
| 118 | +The following sections guide you through setting up these additional metrics sources. |
| 119 | + |
| 120 | + |
| 121 | +## 1. Enable Metrics Collection in SigNoz |
| 122 | + |
| 123 | +### Configure Prometheus Receiver |
| 124 | + |
| 125 | +Enable the Prometheus receiver in your SigNoz OpenTelemetry Collector configuration to scrape existing Prometheus metrics: |
| 126 | + |
| 127 | +```yaml |
| 128 | +# otel-collector-config.yaml |
| 129 | +receivers: |
| 130 | + prometheus: |
| 131 | + config: |
| 132 | + global: |
| 133 | + scrape_interval: 15s |
| 134 | + evaluation_interval: 15s |
| 135 | + scrape_configs: |
| 136 | + - job_name: 'my-application' |
| 137 | + static_configs: |
| 138 | + - targets: ['localhost:8080'] |
| 139 | + metrics_path: '/metrics' |
| 140 | + scrape_interval: 30s |
| 141 | + |
| 142 | +processors: |
| 143 | + batch: |
| 144 | + |
| 145 | +exporters: |
| 146 | + otlp: |
| 147 | + endpoint: "ingest.{region}.signoz.cloud:443" # For SigNoz Cloud |
| 148 | + headers: |
| 149 | + "signoz-access-token": "${SIGNOZ_INGESTION_KEY}" |
| 150 | + |
| 151 | +service: |
| 152 | + pipelines: |
| 153 | + metrics: |
| 154 | + receivers: [prometheus] |
| 155 | + processors: [batch] |
| 156 | + exporters: [otlp] |
| 157 | +``` |
| 158 | +
|
| 159 | +For detailed Prometheus receiver setup, follow the [Prometheus Receiver configuration guide](https://signoz.io/docs/userguide/send-metrics/#enable-a-prometheus-receiver). |
| 160 | +
|
| 161 | +### Configure OTLP Metrics |
| 162 | +
|
| 163 | +If your applications use OpenTelemetry SDKs, ensure metrics are enabled: |
| 164 | +
|
| 165 | +**Environment Variables:** |
| 166 | +```bash |
| 167 | +export OTEL_METRICS_EXPORTER=otlp |
| 168 | +export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=https://ingest.{region}.signoz.cloud:443/v1/metrics |
| 169 | +export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token=${SIGNOZ_INGESTION_KEY}" |
| 170 | +``` |
| 171 | + |
| 172 | +--- |
| 173 | + |
| 174 | +## Using the SigNoz Metrics Explorer |
| 175 | + |
| 176 | +SigNoz Metrics Explorer allows you to query, filter, and visualize your metrics data using PromQL or the visual [Query Builder](https://signoz.io/docs/userguide/query-builder-v5/). |
| 177 | + |
| 178 | +<Figure src="/img/docs/migration/metrics-explorer.webp" alt="SigNoz Metrics Explorer" caption="SigNoz Metrics Explorer interface" /> |
| 179 | + |
| 180 | +To explore your metrics in SigNoz: |
| 181 | + |
| 182 | +1. In the SigNoz UI, click on `Metrics` in the left sidebar |
| 183 | +2. Find a metric from the `List View` |
| 184 | +3. Check metric attributes by clicking on the metric name |
| 185 | +4. Alternatively, use the `Search Filter` to find metrics with specific attributes |
| 186 | + |
| 187 | +--- |
| 188 | + |
| 189 | +## 2. Verifying Metrics in SigNoz |
| 190 | + |
| 191 | +After updating your configuration, restart your applications and verify that metrics are flowing to SigNoz: |
| 192 | +1. Check Metrics Explorer - Navigate to the Metrics tab in SigNoz to confirm your custom metrics are appearing |
| 193 | +2. Verify metric names - Ensure your application metrics show up with expected names and labels |
| 194 | +3. Test queries - Use the Query Builder or PromQL to validate metric data |
| 195 | + |
| 196 | +## Next Steps |
| 197 | + |
| 198 | +Now that metrics are flowing to SigNoz, continue with: |
| 199 | + |
| 200 | +1. **[Migrate Dashboards](/docs/migration/migrate-from-honeycomb/dashboards/)** - Recreate your Honeycomb boards and queries in SigNoz |
| 201 | +2. **[Migrate Alerts](/docs/migration/migrate-from-honeycomb/alerts/)** - Convert SLOs and triggers to SigNoz alert rules |
| 202 | +3. **[Explore Metrics Features](/docs/userguide/metrics/)** - Learn advanced SigNoz Metrics Explorer capabilities |
| 203 | + |
| 204 | +For complex metrics setups requiring Prometheus scraping, see [Enable Prometheus Receiver](https://signoz.io/docs/userguide/send-metrics/#enable-a-prometheus-receiver). |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
0 commit comments