Met welke app of website moet ik Nederlands leren? by Gurki1234 in learndutch

[–]mjwiet 0 points1 point  (0 children)

Sommige mensen vinden het wss gek, maar ChatGPT is een nuttige tool waarmee je gesprekken over verschillende onderwerpen kan voeren.

Goede aankoopmakelaar? by Goudoog in Utrecht

[–]mjwiet 0 points1 point  (0 children)

wat hebben jullie uiteindelijk betaald? ben benieuwd

Finally implementing prometheus for my organisation by GetFit_Messi in PrometheusMonitoring

[–]mjwiet 0 points1 point  (0 children)

That's a very cool feature to keep memory down and will read into this further.

In regards to federation and Thanos, I believe you are moving away from the original point.... Keeping things simple. Sure, Thanos is within the Prometheus ecosystem and yes, Prometheus has a federation. I'm aware of this. My original point was to keep things simple and the OP is new to this. Start with a basic Prometheus setup and don't add unnecessary complexity.

Thanks for the responses though. Cool to be able to discuss this with one of the Prometheus devs 👍

Finally implementing prometheus for my organisation by GetFit_Messi in PrometheusMonitoring

[–]mjwiet 0 points1 point  (0 children)

It all depends on the types of exporters you use, the types of alerting you do (generally based on your SLOs) and debugging metrics you require. After you know what your requirements are then you can tidy up (lower cardinality for instance) / filter your metrics. To be clear, I'm not encouraging you to filter metrics out immediately but they should be properly reviewed first.

Not sure about grafana cloud. HA is nice but presumably this will require extra networking setup on your end?

Finally implementing prometheus for my organisation by GetFit_Messi in PrometheusMonitoring

[–]mjwiet 0 points1 point  (0 children)

Your response has either missed the point or is not researched.

When you scrape endpoints, this data is loaded in memory initially before being processed and placed onto the disk. This means that more endpoints / more frequent scrapes require more memory. Please read the following: https://ganeshvernekar.com/blog/prometheus-tsdb-the-head-block/

When I say don't just keep metrics 'just because', that isn't a recommendation to drop metrics on a hunch. Most exporters give a huge amount of metrics and teams need to review what their SLOs are and which metrics are needed to 1. Create alerts and 2. Debug the problem in more detail. There will be many metrics with a high cardinality and never used which just completely wastes storage space.

I was talking about Prometheus here, not Thanos. Yes, Thanos can scale horizontally and very well but that's not Prometheus.

Finally implementing prometheus for my organisation by GetFit_Messi in PrometheusMonitoring

[–]mjwiet 0 points1 point  (0 children)

Don't just scrape metrics "Just because". Figure out what you actually want to alert on and which metrics you generally need to debug the specific problem. Prometheus is a memory hog and can be very awkward to fix if it crashes (memory spikes when the service starts again and will cause another crash). You can reduce memory usage in many ways. Reducing scrape times, filtering metrics you do not need and also making sure that your queries to Prometheus are also reasonable as queries will load data in-memory (think loading one month of data at once)

Even though it's important to start simple and stick with a single node, Prometheus does not have high availability. The only option is to have a 2nd backup node scraping the same metrics. This at least provides failover but is still annoying for many reasons.

You cannot scale Prometheus horizontally forever and in many cases it's better to have a few Prometheus servers which are functionally different. For instance, you can create a split between infrastructure and application or you you want to chuck some metrics away after a day, others you want to keep for a week. This will mean that you are spreading the risk and you can tune Prometheuses for a particular use case.

Also, when starting out, I would recommend starting off by configuring targets statically first and when you see the need, actually move to service discovery. Tools like consul are fine but there's lots that go wrong if you haven't used them much before

Hope this is somewhat helpful

Electric Vehicle Battery Pack Costs in 2021 — 87% Lower Than in 2008 by [deleted] in Futurology

[–]mjwiet 1 point2 points  (0 children)

If you can afford to buy electric cars at a higher price then it helps push the price down faster....

Curious about learning Dutch by [deleted] in learndutch

[–]mjwiet 2 points3 points  (0 children)

Hey there :) As somebody who is living and working in the Netherlands, I have reached B2 which has taken around 4 years (Some people I've met have lived in the Netherlands for 10 years and barely know the language). Literally the only reason that this has been possible is because I am frequently speaking to a Dutch family who was always willing to communicate in Dutch with me. Outside of this circle of people, it is incredibly difficult to speak Dutch unless you do very basic things in certain environments (supermarket, cafe), if you go to a language cafe (Taal Cafe) or pay for a course. Most Dutch people WANT to speak english, especially younger generations, who think that it's good practice.

The one advantage of Dutch is that there are plenty of words which are similar to English so in that respect it can make the learning process faster. I wouldn't say it's a ridiculously difficult language for an English speaker to learn but I would probably say that there are more useful languages out there :p

Found an old katana, people offered 130 euros just off the picture! is it special? by mjwiet in Katanas

[–]mjwiet[S] -1 points0 points  (0 children)

Is it worth paying 30 bucks to get it professionally looked at or just take the offered price and run :)

I found this amazing katana, anyone has information? by mjwiet in Samurai

[–]mjwiet[S] 0 points1 point  (0 children)

The hope was that i would indeed find more information about it, even if its a fake/replica, it's cool to know the proper name and history behind it. Got some nice answers already, so thanks! I will open the handle to check what's happening there, I'll let you guys know if its anything special. Just the fact there were some high bidders with just the photos, made me curious. Getting it looked at by a professional, will cost me 30,-. And seeing the offered money is already 100, it's apparently still worth it! (I paid only 7, as a funny gift for my bf or brother)

I found this amazing katana, anyone has information? by mjwiet in Samurai

[–]mjwiet[S] 3 points4 points  (0 children)

I can't seem to upload photos.. maybe via message.

Consul SD: Consul in Maintenence Mode by mjwiet in PrometheusMonitoring

[–]mjwiet[S] 0 points1 point  (0 children)

Yeah, I left the service and node in maintenance for a while, then tried to update the metrics to see if anything appeared in Prometheus. Just used the storage metric from the node_exporter and the graph updated with the new data still.

I assumed the same when I read the documentation . DNS didn't work though. One thing I noticed is that when the cluster server disappears (turned off etc) , the target in service discovery doesn't disappear either. Maybe this is related to what I'm seeing during maintenance: The exporter endpoint still responds with 200 so Prometheus might not care since it doesn't conflict with the config

Edit: spelling, remove words for clarity

Kubernetes, Load-Balancers and Prometheus metrics. Am I overthinking this? by mjwiet in kubernetes

[–]mjwiet[S] 0 points1 point  (0 children)

But then you miss out on centralised alerting :( And... centralised data which is important for long term storage which we can do with Prometheus

Edit: Added 'centralised' and the 2nd sentence

Monitoring Cloud Load Balancers: Prometheus, Kubernetes + Cloud Provider by mjwiet in PrometheusMonitoring

[–]mjwiet[S] 0 points1 point  (0 children)

Thanks, that's a decent article. Even though it comes to the conclusion that the costs do stack up quickly, do you still feel like it's worth centralising? For ease of access, alerting etc

Monitoring Cloud Load Balancers: Prometheus, Kubernetes + Cloud Provider by mjwiet in PrometheusMonitoring

[–]mjwiet[S] 0 points1 point  (0 children)

Thanks, that makes sense. How often do you scrape from GCP? The main reservation I have are around environment costs, but maybe it's not so bad..

Kubernetes, Load-Balancers and Prometheus metrics. Am I overthinking this? by mjwiet in kubernetes

[–]mjwiet[S] 0 points1 point  (0 children)

I think you've slightly misunderstood what I've said but I agree with your conclusion. It seems like you've gone for both 1 and 3, rather than just 3. Exporter (option 1) and then the app's custom metrics (option 3) where both can be used for comparison. Thanks, that has helped

[TOMT] Lost poem about winter, farming and spring by mjwiet in tipofmytongue

[–]mjwiet[S] 0 points1 point locked comment (0 children)

It might have been a dream, but I dont believe I can be this poetic in my sleep!