8000 Fix a couple of typos (#135) · pythonAI/client_python@4916ffa · GitHub
[go: up one dir, main page]

Skip to content

Commit 4916ffa

Browse files
juliusvbrian-brazil
authored andcommitted
Fix a couple of typos (prometheus#135)
1 parent 666159c commit 4916ffa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ This comes with a number of limitations:
409409
- Custom collectors do not work (e.g. cpu and memory metrics)
410410
- The pushgateway cannot be used
411411
- Gauges cannot use the `pid` label
412-
- Gunicron's `preload_app` feature are equivilents are not supported
412+
- Gunicorn's `preload_app` feature and equivalents are not supported
413413

414414
There's several steps to getting this working:
415415

prometheus_client/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def __init__(self, filename):
336336
self._positions[key] = pos
337337

338338
def _init_value(self, key):
339-
"""Initilize a value. Lock must be held by caller."""
339+
"""Initialize a value. Lock must be held by caller."""
340340
encoded = key.encode('utf-8')
341341
# Pad to be 8-byte aligned.
342342
padded = encoded + (b' ' * (8 - (len(encoded) + 4) % 8))

0 commit comments

Comments
 (0)
0