Skip to content

Adding the basic stuff#2

Merged
reyang merged 2 commits intoopen-telemetry:mainfrom
reyang:reyang/basics
Apr 27, 2022
Merged

Adding the basic stuff#2
reyang merged 2 commits intoopen-telemetry:mainfrom
reyang:reyang/basics

Conversation

@reyang
Copy link
Copy Markdown
Member

@reyang reyang commented Apr 27, 2022

Added the following stuff (most of them were stolen from spec and sdk repo):

  • CODEOWNERS
  • CHANGELOG.md
  • issue templates
  • PR template
  • license
  • basic CI workflow

@reyang reyang requested a review from a team April 27, 2022 05:21
@reyang reyang added the infra label Apr 27, 2022
@reyang reyang merged commit 554bc4d into open-telemetry:main Apr 27, 2022
@reyang reyang deleted the reyang/basics branch April 27, 2022 14:59

# Question

Use [Github Discussions](https://github.com/open-telemetry/opentelemetry-dotnet/discussions/new).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reyang Discussions are not enabled on this repo and the link points to dotnet. Should we fix the link or enable discussions?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll send separate PR to fix some of these (discussions, the missing npm config, etc.). We can discuss in that PR whether to use Discussions or Issues.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI here goes the issue I created yesterday #3.

petethepig pushed a commit to pyroscope-io/opentelemetry-demo that referenced this pull request Sep 20, 2022
AbhiPrasad pushed a commit to AbhiPrasad/opentelemetry-demo that referenced this pull request Nov 24, 2022
jmichalak9 pushed a commit to jmichalak9/opentelemetry-demo that referenced this pull request Mar 22, 2024
alanwest added a commit to alanwest/opentelemetry-demo that referenced this pull request Jun 6, 2024
…et-hop-processor

.NET local batch processor
Darpankarur added a commit to Darpankarur/opentelemetry-demo that referenced this pull request May 17, 2025
mohamed3637 added a commit to mohamed3637/opentelemetry-demo that referenced this pull request Oct 7, 2025
julianocosta89 added a commit that referenced this pull request Oct 13, 2025
* feat: add ipv6 toggling logic

* fix: remove ipv6 from env and docker compose (#2)

* chore: update changelog

* Update CHANGELOG.md

* Move ENVOY_PORT up

* Add `IPV6_ENABLED` env var

* Add IPv6 Flag control

* update docker compose minimal

---------

Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
obetomuniz added a commit to obetomuniz/opentelemetry-demo that referenced this pull request Nov 4, 2025
This optimization addresses critical performance bottlenecks identified in
profiling data:

PROBLEM:
- regexp.Compile consumed 12.12% CPU (6.92GB memory, 28.35% total)
- Pattern compilation occurred on every request in processOrder()
- Added ~5.43s latency per profile

SOLUTION:
- Implement thread-safe regex cache using sync.Map
- Pre-compile common validation patterns at startup
- Zero-allocation pattern matching after first compilation

PERFORMANCE IMPACT:
- Eliminates 12.12% CPU overhead
- Reduces memory allocations by 6.92GB (28.35%)
- 50.7x faster validation (12,420ns → 245ns)
- Zero allocations in hot path

USAGE:
Instead of:
  pattern := regexp.MustCompile(`[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}`)

Use:
  pattern := GlobalRegexCache.Get("credit_card", pattern_string)

Call PrecompileCheckoutPatterns() in main() to warm cache at startup.

Related profiling data shows this as the open-telemetry#2 CPU consumer in checkout
service after profiling overhead (32.74%).

Addresses: Performance bottleneck in checkout service across all regions
(us-east-2, eu-west-1, ap-south-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants