From d110a1529bf795c040b7d0b74387c797a8257aed Mon Sep 17 00:00:00 2001 From: Andrew Mains Date: Tue, 10 Jan 2023 17:01:42 -0500 Subject: [PATCH] Fix build; regenerate protobufs for the new year, update grafana links (#4181) Two fixes for the build here: - Regen code: We probably shouldn't have to do this every year, but regenerating protobufs now to update copyrights, and fix the build (test-all-gen fails). - Fix some dead links: not sure where they went, but I replaced them with what looks to be the correct grafana.com equivalent (same ID). --- issue_template.md | 2 +- site/content/faqs/faqs.md | 2 +- site/content/integrations/grafana.md | 2 +- site/content/integrations/prometheus.md | 2 +- src/m3ninx/index/segment/builder/fields_map_new.go | 2 +- src/m3ninx/index/segment/builder/ids_map_new.go | 2 +- src/m3ninx/index/segment/builder/postings_map_new.go | 2 +- src/m3ninx/index/segment/mem/fields_map_new.go | 2 +- src/query/graphite/storage/series_metadata_map_new.go | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/issue_template.md b/issue_template.md index fe3f01225b..ac20c8c536 100644 --- a/issue_template.md +++ b/issue_template.md @@ -48,4 +48,4 @@ Heap ### M3DB Grafana Dashboard Screenshots -If the service experiencing performance issues is M3DB and you're monitoring it using Prometheus, any screenshots you could provide using [this](https://grafana.com/dashboards/8126) dashboard would be helpful. \ No newline at end of file +If the service experiencing performance issues is M3DB and you're monitoring it using Prometheus, any screenshots you could provide using [this](https://grafana.com/grafana/dashboards/8126-m3db-node-details/) dashboard would be helpful. \ No newline at end of file diff --git a/site/content/faqs/faqs.md b/site/content/faqs/faqs.md index b76a6c3c19..053ad0480b 100644 --- a/site/content/faqs/faqs.md +++ b/site/content/faqs/faqs.md @@ -42,7 +42,7 @@ See this [WIP documentation](https://github.com/m3db/m3/pull/1741/files#diff-0a1 Not yet, but that functionality is currently being worked on. - **How can you tell if a node is snapshotting?** -You can check if your nodes are snapshotting by looking at the `Background tasks` tab in the [M3DB Grafana dashboard](https://grafana.com/dashboards/8126). +You can check if your nodes are snapshotting by looking at the `Background tasks` tab in the [M3DB Grafana dashboard](https://grafana.com/grafana/dashboards/8126-m3db-node-details/). - **How do you list all available API endpoints?** See [M3DB OpenAPI](https://m3db.io/openapi). diff --git a/site/content/integrations/grafana.md b/site/content/integrations/grafana.md index ccfaeabbfa..d96af8e366 100644 --- a/site/content/integrations/grafana.md +++ b/site/content/integrations/grafana.md @@ -14,7 +14,7 @@ M3Coordinator can function as a datasource for Prometheus as well as Graphite. S All M3 applications expose Prometheus metrics on port `7203` by default as described in the [Prometheus integration guide](/docs/integrations/prometheus), so if you're already monitoring your M3 stack with Prometheus and Grafana you can use our pre-configured dashboards. -[M3DB Prometheus / Grafana dashboard](https://grafana.com/dashboards/8126) +[M3DB Prometheus / Grafana dashboard](https://grafana.com/grafana/dashboards/8126-m3db-node-details/) M3Coordinator Prometheus / Grafana dashboard: TODO diff --git a/site/content/integrations/prometheus.md b/site/content/integrations/prometheus.md index 6d1a6a16bd..3ba0ba828c 100644 --- a/site/content/integrations/prometheus.md +++ b/site/content/integrations/prometheus.md @@ -100,7 +100,7 @@ remote_write: - url: "{{% apiendpoint %}}prom/remote/write" ``` -Also, we recommend adding `M3DB` and `M3Coordinator`/`M3Query` to your list of jobs under `scrape_configs` so that you can monitor them using Prometheus. With this scraping setup, you can also use our pre-configured [M3DB Grafana dashboard](https://grafana.com/dashboards/8126). +Also, we recommend adding `M3DB` and `M3Coordinator`/`M3Query` to your list of jobs under `scrape_configs` so that you can monitor them using Prometheus. With this scraping setup, you can also use our pre-configured [M3DB Grafana dashboard](https://grafana.com/grafana/dashboards/8126-m3db-node-details/). ```yaml - job_name: 'm3db' diff --git a/src/m3ninx/index/segment/builder/fields_map_new.go b/src/m3ninx/index/segment/builder/fields_map_new.go index c17b2fa9d2..62e734a9b4 100644 --- a/src/m3ninx/index/segment/builder/fields_map_new.go +++ b/src/m3ninx/index/segment/builder/fields_map_new.go @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Uber Technologies, Inc. +// Copyright (c) 2023 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/src/m3ninx/index/segment/builder/ids_map_new.go b/src/m3ninx/index/segment/builder/ids_map_new.go index 668f3063a5..b7aef4dcbc 100644 --- a/src/m3ninx/index/segment/builder/ids_map_new.go +++ b/src/m3ninx/index/segment/builder/ids_map_new.go @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Uber Technologies, Inc. +// Copyright (c) 2023 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/src/m3ninx/index/segment/builder/postings_map_new.go b/src/m3ninx/index/segment/builder/postings_map_new.go index 1981b026f8..34c0788082 100644 --- a/src/m3ninx/index/segment/builder/postings_map_new.go +++ b/src/m3ninx/index/segment/builder/postings_map_new.go @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Uber Technologies, Inc. +// Copyright (c) 2023 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/src/m3ninx/index/segment/mem/fields_map_new.go b/src/m3ninx/index/segment/mem/fields_map_new.go index c2099caef4..1a253a0b76 100644 --- a/src/m3ninx/index/segment/mem/fields_map_new.go +++ b/src/m3ninx/index/segment/mem/fields_map_new.go @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Uber Technologies, Inc. +// Copyright (c) 2023 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/src/query/graphite/storage/series_metadata_map_new.go b/src/query/graphite/storage/series_metadata_map_new.go index 4a3343ec5a..4a7cb3cee6 100644 --- a/src/query/graphite/storage/series_metadata_map_new.go +++ b/src/query/graphite/storage/series_metadata_map_new.go @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Uber Technologies, Inc. +// Copyright (c) 2023 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal