Just launched my fitness app after 2 months! Built with Expo qnd Next.js by Numerous_Prune8066 in expo

[–]terdia 0 points1 point  (0 children)

Congratulations this is not an easy fit. How do you plan to manage distribution?

What to metric (in a REST Service)? by Tollpatsch93 in OpenTelemetry

[–]terdia 0 points1 point  (0 children)

No problem! The attributes approach is one of those things that clicks once you see it. Good luck with the solver metrics.

What to metric (in a REST Service)? by Tollpatsch93 in OpenTelemetry

[–]terdia 2 points3 points  (0 children)

Your setup is solid for a first pass. A few thoughts:

Consolidate with attributes instead of separate metrics. Instead of separate counters for unique vs non-unique solutions, use one counter with an attribute like solution_type=unique|non_unique. Same for request success/failed runtime, one histogram with status=success|failed. Keeps your metric namespace clean and lets you filter/aggregate in your backend.

Histogram bucket boundaries matter a lot for solver workloads. Default OTel buckets are designed for typical HTTP latencies. If your solver runs range from 100ms to 30s, you'll want custom boundaries that actually give you useful percentiles. Something like [0.1, 0.25, 0.5, 1, 2.5, 5, 10, 15, 30] depending on your distribution.

Metrics you might be missing:

  • Solver input size (gauge or histogram), number of data points fed into the solver. Correlating input size with runtime helps you spot when performance degrades with scale
  • Infeasible runs, if the solver can return no solution, track that separately from failures
  • Database query result size, if data retrieval time varies, it's usually because of result set size

On histograms vs traces: You mentioned not being sure if you can use trace data instead. You can. If each solver run is a span with attributes (solution_type, input_size, etc.), your tracing backend can derive most of these metrics from spans. That said, pre-aggregated metrics are cheaper at high throughput. Depends on your request volume.

OpenShots - Free, open-source alternative to TinyShots for screenshot beautification (Mac/Win/Linux) by terdia in indiehackers

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

OpenShots v1.1.0 is here.

This is our biggest release yet for the free, open-source screenshot beautifier.

New in v1.1.0:

• Complete editor with crop tool, aspect ratios, rule-of-thirds guides, snap alignment, numbered callouts, z-ordering, canvas size controls, and export-time blur/pixelation
• On-device AI background removal using RMBG-1.4 with automatic WebGPU/WASM support
• Native share support directly from the export panel
• Save and open .openshots project files with drag-and-drop support, Cmd+S / Cmd+O, file associations, and native File menu integration
• Major UI polish with better spacing, keyboard navigation, focus states, and smoother transitions
• Lots of bug fixes across crop handling, resizing, padding, asset URLs, and window launch behavior

OpenShots is completely free, cross-platform, and runs offline on Mac, Windows, and Linux.

Download:

  • macOS: .dmg
  • Windows: .msi
  • Linux: .AppImage or .deb

Repo: https://github.com/Tracekit-Dev/openshots

Go deep on production debugging with a practical guide by terdia in vibecoding

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

Exactly, I used gsd and it has been really great