diff --git a/blog-posts/README.md b/blog/README.md similarity index 100% rename from blog-posts/README.md rename to blog/README.md diff --git a/blog-posts/2015-04-24-prometheus-monitring-spreads-through-the-internet.md b/blog/posts/2015-04-24-prometheus-monitring-spreads-through-the-internet.md similarity index 100% rename from blog-posts/2015-04-24-prometheus-monitring-spreads-through-the-internet.md rename to blog/posts/2015-04-24-prometheus-monitring-spreads-through-the-internet.md diff --git a/blog-posts/2015-06-01-advanced-service-discovery.md b/blog/posts/2015-06-01-advanced-service-discovery.md similarity index 100% rename from blog-posts/2015-06-01-advanced-service-discovery.md rename to blog/posts/2015-06-01-advanced-service-discovery.md diff --git a/blog-posts/2015-06-18-practical-anomaly-detection.md b/blog/posts/2015-06-18-practical-anomaly-detection.md similarity index 100% rename from blog-posts/2015-06-18-practical-anomaly-detection.md rename to blog/posts/2015-06-18-practical-anomaly-detection.md diff --git a/blog-posts/2015-06-24-monitoring-dreamhack.md b/blog/posts/2015-06-24-monitoring-dreamhack.md similarity index 100% rename from blog-posts/2015-06-24-monitoring-dreamhack.md rename to blog/posts/2015-06-24-monitoring-dreamhack.md diff --git a/blog-posts/2015-08-17-service-discovery-with-etcd.md b/blog/posts/2015-08-17-service-discovery-with-etcd.md similarity index 100% rename from blog-posts/2015-08-17-service-discovery-with-etcd.md rename to blog/posts/2015-08-17-service-discovery-with-etcd.md diff --git a/blog-posts/2016-01-26-one-year-of-open-prometheus-development.md b/blog/posts/2016-01-26-one-year-of-open-prometheus-development.md similarity index 100% rename from blog-posts/2016-01-26-one-year-of-open-prometheus-development.md rename to blog/posts/2016-01-26-one-year-of-open-prometheus-development.md diff --git a/blog-posts/2016-03-03-custom-alertmanager-templates.md b/blog/posts/2016-03-03-custom-alertmanager-templates.md similarity index 100% rename from blog-posts/2016-03-03-custom-alertmanager-templates.md rename to blog/posts/2016-03-03-custom-alertmanager-templates.md diff --git a/blog-posts/2016-03-23-interview-with-life360.md b/blog/posts/2016-03-23-interview-with-life360.md similarity index 100% rename from blog-posts/2016-03-23-interview-with-life360.md rename to blog/posts/2016-03-23-interview-with-life360.md diff --git a/blog-posts/2016-05-01-interview-with-showmax.md b/blog/posts/2016-05-01-interview-with-showmax.md similarity index 100% rename from blog-posts/2016-05-01-interview-with-showmax.md rename to blog/posts/2016-05-01-interview-with-showmax.md diff --git a/blog-posts/2016-05-08-when-to-use-varbit-chunks.md b/blog/posts/2016-05-08-when-to-use-varbit-chunks.md similarity index 100% rename from blog-posts/2016-05-08-when-to-use-varbit-chunks.md rename to blog/posts/2016-05-08-when-to-use-varbit-chunks.md diff --git a/blog-posts/2016-05-09-prometheus-to-join-the-cloud-native-computing-foundation.md b/blog/posts/2016-05-09-prometheus-to-join-the-cloud-native-computing-foundation.md similarity index 100% rename from blog-posts/2016-05-09-prometheus-to-join-the-cloud-native-computing-foundation.md rename to blog/posts/2016-05-09-prometheus-to-join-the-cloud-native-computing-foundation.md diff --git a/blog-posts/2016-07-18-prometheus-1-0-released.md b/blog/posts/2016-07-18-prometheus-1-0-released.md similarity index 100% rename from blog-posts/2016-07-18-prometheus-1-0-released.md rename to blog/posts/2016-07-18-prometheus-1-0-released.md diff --git a/blog-posts/2016-07-23-pull-does-not-scale-or-does-it.md b/blog/posts/2016-07-23-pull-does-not-scale-or-does-it.md similarity index 100% rename from blog-posts/2016-07-23-pull-does-not-scale-or-does-it.md rename to blog/posts/2016-07-23-pull-does-not-scale-or-does-it.md diff --git a/blog-posts/2016-09-04-promcon-2016-its-a-wrap.md b/blog/posts/2016-09-04-promcon-2016-its-a-wrap.md similarity index 100% rename from blog-posts/2016-09-04-promcon-2016-its-a-wrap.md rename to blog/posts/2016-09-04-promcon-2016-its-a-wrap.md diff --git a/blog-posts/2016-09-07-interview-with-shuttlecloud.md b/blog/posts/2016-09-07-interview-with-shuttlecloud.md similarity index 100% rename from blog-posts/2016-09-07-interview-with-shuttlecloud.md rename to blog/posts/2016-09-07-interview-with-shuttlecloud.md diff --git a/blog-posts/2016-09-14-interview-with-digitalocean.md b/blog/posts/2016-09-14-interview-with-digitalocean.md similarity index 100% rename from blog-posts/2016-09-14-interview-with-digitalocean.md rename to blog/posts/2016-09-14-interview-with-digitalocean.md diff --git a/blog-posts/2016-09-21-interview-with-compose.md b/blog/posts/2016-09-21-interview-with-compose.md similarity index 100% rename from blog-posts/2016-09-21-interview-with-compose.md rename to blog/posts/2016-09-21-interview-with-compose.md diff --git a/blog-posts/2016-10-12-interview-with-justwatch.md b/blog/posts/2016-10-12-interview-with-justwatch.md similarity index 100% rename from blog-posts/2016-10-12-interview-with-justwatch.md rename to blog/posts/2016-10-12-interview-with-justwatch.md diff --git a/blog-posts/2016-11-16-interview-with-canonical.md b/blog/posts/2016-11-16-interview-with-canonical.md similarity index 100% rename from blog-posts/2016-11-16-interview-with-canonical.md rename to blog/posts/2016-11-16-interview-with-canonical.md diff --git a/blog-posts/2017-02-20-interview-with-weaveworks.md b/blog/posts/2017-02-20-interview-with-weaveworks.md similarity index 100% rename from blog-posts/2017-02-20-interview-with-weaveworks.md rename to blog/posts/2017-02-20-interview-with-weaveworks.md diff --git a/blog-posts/2017-04-06-interview-with-europace.md b/blog/posts/2017-04-06-interview-with-europace.md similarity index 100% rename from blog-posts/2017-04-06-interview-with-europace.md rename to blog/posts/2017-04-06-interview-with-europace.md diff --git a/blog-posts/2017-04-10-promehteus-20-sneak-peak.md b/blog/posts/2017-04-10-promehteus-20-sneak-peak.md similarity index 100% rename from blog-posts/2017-04-10-promehteus-20-sneak-peak.md rename to blog/posts/2017-04-10-promehteus-20-sneak-peak.md diff --git a/blog-posts/2017-05-17-interview-with-iadvize.md b/blog/posts/2017-05-17-interview-with-iadvize.md similarity index 100% rename from blog-posts/2017-05-17-interview-with-iadvize.md rename to blog/posts/2017-05-17-interview-with-iadvize.md diff --git a/blog-posts/2017-06-14-interview-with-latelier-animation.md b/blog/posts/2017-06-14-interview-with-latelier-animation.md similarity index 100% rename from blog-posts/2017-06-14-interview-with-latelier-animation.md rename to blog/posts/2017-06-14-interview-with-latelier-animation.md diff --git a/blog-posts/2017-06-21-prometheus-20-alpha3-new-rule-format.md b/blog/posts/2017-06-21-prometheus-20-alpha3-new-rule-format.md similarity index 100% rename from blog-posts/2017-06-21-prometheus-20-alpha3-new-rule-format.md rename to blog/posts/2017-06-21-prometheus-20-alpha3-new-rule-format.md diff --git a/blog-posts/2017-09-04-promcon-2017-recap.md b/blog/posts/2017-09-04-promcon-2017-recap.md similarity index 100% rename from blog-posts/2017-09-04-promcon-2017-recap.md rename to blog/posts/2017-09-04-promcon-2017-recap.md diff --git a/blog-posts/2017-11-08-announcing-prometheus-2-0.md b/blog/posts/2017-11-08-announcing-prometheus-2-0.md similarity index 100% rename from blog-posts/2017-11-08-announcing-prometheus-2-0.md rename to blog/posts/2017-11-08-announcing-prometheus-2-0.md diff --git a/blog-posts/2017-11-30-prometheus-at-cloudnativecon.md b/blog/posts/2017-11-30-prometheus-at-cloudnativecon.md similarity index 100% rename from blog-posts/2017-11-30-prometheus-at-cloudnativecon.md rename to blog/posts/2017-11-30-prometheus-at-cloudnativecon.md diff --git a/blog-posts/2018-02-08-interview-with-scalefastr.md b/blog/posts/2018-02-08-interview-with-scalefastr.md similarity index 100% rename from blog-posts/2018-02-08-interview-with-scalefastr.md rename to blog/posts/2018-02-08-interview-with-scalefastr.md diff --git a/blog-posts/2018-03-16-interview-with-datawire.md b/blog/posts/2018-03-16-interview-with-datawire.md similarity index 100% rename from blog-posts/2018-03-16-interview-with-datawire.md rename to blog/posts/2018-03-16-interview-with-datawire.md diff --git a/blog-posts/2018-07-05-implementing-custom-sd.md b/blog/posts/2018-07-05-implementing-custom-sd.md similarity index 100% rename from blog-posts/2018-07-05-implementing-custom-sd.md rename to blog/posts/2018-07-05-implementing-custom-sd.md diff --git a/blog-posts/2018-08-09-prometheus-graduates-within-cncf.md b/blog/posts/2018-08-09-prometheus-graduates-within-cncf.md similarity index 100% rename from blog-posts/2018-08-09-prometheus-graduates-within-cncf.md rename to blog/posts/2018-08-09-prometheus-graduates-within-cncf.md diff --git a/blog-posts/2018-08-23-interview-with-presslabs.md b/blog/posts/2018-08-23-interview-with-presslabs.md similarity index 100% rename from blog-posts/2018-08-23-interview-with-presslabs.md rename to blog/posts/2018-08-23-interview-with-presslabs.md diff --git a/blog-posts/2019-01-28-subquery-support.md b/blog/posts/2019-01-28-subquery-support.md similarity index 100% rename from blog-posts/2019-01-28-subquery-support.md rename to blog/posts/2019-01-28-subquery-support.md diff --git a/blog-posts/2019-02-06-interview-with-hostinger.md b/blog/posts/2019-02-06-interview-with-hostinger.md similarity index 100% rename from blog-posts/2019-02-06-interview-with-hostinger.md rename to blog/posts/2019-02-06-interview-with-hostinger.md diff --git a/blog-posts/2019-06-18-interview-with-forgerock.md b/blog/posts/2019-06-18-interview-with-forgerock.md similarity index 100% rename from blog-posts/2019-06-18-interview-with-forgerock.md rename to blog/posts/2019-06-18-interview-with-forgerock.md diff --git a/blog-posts/2019-10-10-remote-read-meets-streaming.md b/blog/posts/2019-10-10-remote-read-meets-streaming.md similarity index 100% rename from blog-posts/2019-10-10-remote-read-meets-streaming.md rename to blog/posts/2019-10-10-remote-read-meets-streaming.md diff --git a/blog-posts/2021-02-17-introducing-feature-flags.md b/blog/posts/2021-02-17-introducing-feature-flags.md similarity index 100% rename from blog-posts/2021-02-17-introducing-feature-flags.md rename to blog/posts/2021-02-17-introducing-feature-flags.md diff --git a/blog-posts/2021-02-18-introducing-the-@-modifier.md b/blog/posts/2021-02-18-introducing-the-@-modifier.md similarity index 100% rename from blog-posts/2021-02-18-introducing-the-@-modifier.md rename to blog/posts/2021-02-18-introducing-the-@-modifier.md diff --git a/blog-posts/2021-05-03-introducing-prometheus-conformance-program.md b/blog/posts/2021-05-03-introducing-prometheus-conformance-program.md similarity index 100% rename from blog-posts/2021-05-03-introducing-prometheus-conformance-program.md rename to blog/posts/2021-05-03-introducing-prometheus-conformance-program.md diff --git a/blog-posts/2021-05-04-prometheus-conformance-remote-write-compliance.md b/blog/posts/2021-05-04-prometheus-conformance-remote-write-compliance.md similarity index 100% rename from blog-posts/2021-05-04-prometheus-conformance-remote-write-compliance.md rename to blog/posts/2021-05-04-prometheus-conformance-remote-write-compliance.md diff --git a/blog-posts/2021-06-10-on-ransomware-naming.md b/blog/posts/2021-06-10-on-ransomware-naming.md similarity index 100% rename from blog-posts/2021-06-10-on-ransomware-naming.md rename to blog/posts/2021-06-10-on-ransomware-naming.md diff --git a/blog-posts/2021-10-14-prometheus-conformance-results.md b/blog/posts/2021-10-14-prometheus-conformance-results.md similarity index 100% rename from blog-posts/2021-10-14-prometheus-conformance-results.md rename to blog/posts/2021-10-14-prometheus-conformance-results.md diff --git a/blog-posts/2021-11-16-agent.md b/blog/posts/2021-11-16-agent.md similarity index 100% rename from blog-posts/2021-11-16-agent.md rename to blog/posts/2021-11-16-agent.md diff --git a/blog-posts/2023-03-21-stringlabel.md b/blog/posts/2023-03-21-stringlabel.md similarity index 100% rename from blog-posts/2023-03-21-stringlabel.md rename to blog/posts/2023-03-21-stringlabel.md diff --git a/blog-posts/2023-09-01-promcon2023-schedule.md b/blog/posts/2023-09-01-promcon2023-schedule.md similarity index 100% rename from blog-posts/2023-09-01-promcon2023-schedule.md rename to blog/posts/2023-09-01-promcon2023-schedule.md diff --git a/blog-posts/2024-03-14-commitment-to-opentelemetry.md b/blog/posts/2024-03-14-commitment-to-opentelemetry.md similarity index 100% rename from blog-posts/2024-03-14-commitment-to-opentelemetry.md rename to blog/posts/2024-03-14-commitment-to-opentelemetry.md diff --git a/blog-posts/2024-09-11-prometheus-3-beta.md b/blog/posts/2024-09-11-prometheus-3-beta.md similarity index 100% rename from blog-posts/2024-09-11-prometheus-3-beta.md rename to blog/posts/2024-09-11-prometheus-3-beta.md diff --git a/blog-posts/2024-11-14-prometheus-3-0.md b/blog/posts/2024-11-14-prometheus-3-0.md similarity index 100% rename from blog-posts/2024-11-14-prometheus-3-0.md rename to blog/posts/2024-11-14-prometheus-3-0.md diff --git a/blog-posts/2024-11-19-yace-joining-prometheus-community.md b/blog/posts/2024-11-19-yace-joining-prometheus-community.md similarity index 100% rename from blog-posts/2024-11-19-yace-joining-prometheus-community.md rename to blog/posts/2024-11-19-yace-joining-prometheus-community.md diff --git a/src/app/community/community.md b/src/app/community/community.md index bc3b8ff12..69eb55c5d 100644 --- a/src/app/community/community.md +++ b/src/app/community/community.md @@ -246,7 +246,7 @@ In order to allow mentees to share the knowledge they learned and allow them to * Encourage the mentee to speak (or even co-speak with them!) at the next relevant conference or meetup (e.g. PromCon, KubeCon, local meetup), etc! * See the post-mentorship talks by [Arthur](https://www.youtube.com/watch?v=nWf0BfQ5EEA&t=1s) and [M Viswanath Sai and S Ashwin](https://www.youtube.com/watch?v=wkkXh8X0N8s) at PromCon conferences. -* Encourage the mentee to write a blog post on the [Prometheus blog](https://github.com/prometheus/docs/tree/main/blog-posts) or on their personal blog! +* Encourage the mentee to write a blog post on the [Prometheus blog](https://github.com/prometheus/docs/tree/main/blog) or on their personal blog! * A virtual "Mentees Meetup", if we have enough content, is also an option. ## Code of Conduct diff --git a/src/blog-helpers.ts b/src/blog-helpers.ts index 664d823f5..5c4f39bdc 100644 --- a/src/blog-helpers.ts +++ b/src/blog-helpers.ts @@ -2,7 +2,7 @@ import fs from "fs"; import path from "path"; import matter from "gray-matter"; -const blogPostsDir = "blog-posts"; +const blogPostsDir = "blog/posts"; export const postFileNameToParams = (fileName: string) => { const [year, month, day, ...slug] = fileName.replace(/\.md$/, "").split("-"); @@ -35,7 +35,7 @@ export const getPostFilePath = (params: { }; export const getAllPostFileNames = () => { - return fs.readdirSync(blogPostsDir).filter((f) => f !== "README.md"); + return fs.readdirSync(blogPostsDir); }; export const getAllPostParams = () => {